tried moving protobuf plugin to separate project, but IntelliJ doesn't like it
This commit is contained in:
parent
978b515682
commit
59891678a5
4 changed files with 260 additions and 185 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
kotlin("jvm") version "1.5.31"
|
||||
|
|
@ -20,3 +22,12 @@ dependencies {
|
|||
implementation("com.github.node-gradle:gradle-node-plugin:3.1.1")
|
||||
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
"-Xopt-in=kotlin.OptIn",
|
||||
"-Xopt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-Xopt-in=kotlin.time.ExperimentalTime",
|
||||
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue