Files
kotlin-fork/core/deserialization/build.gradle.kts
T
2018-03-02 03:15:17 +03:00

30 lines
614 B
Kotlin

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
apply { plugin("kotlin") }
apply { plugin("jps-compatible") }
jvmTarget = "1.6"
javaHome = rootProject.extra["JDK_16"] as String
dependencies {
compile(project(":core:util.runtime"))
compile(project(":core:descriptors"))
compile(protobufLite())
compile(commonDep("javax.inject"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
tasks.withType<JavaCompile> {
dependsOn(protobufLiteTask)
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
}
tasks.withType<KotlinCompile> {
dependsOn(protobufLiteTask)
}