-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
27 lines (26 loc) · 1007 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
@file:Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.asciidoctor) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.graalvm) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlin.spring) apply false
alias(libs.plugins.spring) apply false
alias(libs.plugins.spring.dependency) apply false
}
tasks {
register("clean", Delete::class) {
delete(rootProject.buildDir)
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-opt-in=kotlin.RequiresOptIn", "-Xjsr305=strict")
jvmTarget = "17"
}
}
}