-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
build.gradle.kts
33 lines (25 loc) · 1.04 KB
/
build.gradle.kts
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
28
29
30
31
32
33
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("gradlebuild.distribution.implementation-kotlin")
id("gradlebuild.publish-public-libraries")
embeddedKotlin("plugin.serialization")
}
description = "Common shared classes used by the Declarative DSL"
tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
apiVersion.set(KotlinVersion.KOTLIN_1_9)
languageVersion.set(KotlinVersion.KOTLIN_1_9)
}
}
dependencies {
api(libs.futureKotlin("compiler-embeddable"))
api(libs.futureKotlin("stdlib"))
implementation(project(":declarative-dsl-api"))
implementation(libs.futureKotlin("reflect"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2")
testImplementation(libs.futureKotlin("test-junit5"))
testImplementation("org.jetbrains:annotations:24.0.1")
integTestDistributionRuntimeOnly(project(":distributions-full"))
}