blob: c091ba6e3bfd58116e6a1da7d8f6d09942d9c814 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
idea
kotlin("jvm")
java
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.google.devtools.ksp:symbol-processing-api:1.8.0-1.0.8")
}
tasks.withType<JavaCompile> {
if (JavaVersion.current().isJava9Compatible) {
options.release.set(8)
}
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
|