mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-09-29 02:07:57 +03:00
37 lines
1.1 KiB
Kotlin
37 lines
1.1 KiB
Kotlin
plugins {
|
|
kotlin("jvm") version "2.1.10" apply false
|
|
kotlin("plugin.spring") version "2.1.10" apply false
|
|
kotlin("plugin.jpa") version "2.1.10" apply false
|
|
kotlin("plugin.serialization") version "2.1.10" apply false
|
|
kotlin("plugin.allopen") version "2.1.10" apply false
|
|
id("org.springframework.boot") version "3.2.3" apply false
|
|
id("io.spring.dependency-management") version "1.1.4" apply false
|
|
id("com.github.ben-manes.versions") version "0.51.0"
|
|
}
|
|
|
|
allprojects {
|
|
group = "icu.samnyan.aqua"
|
|
version = "1.0.0"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = "org.jetbrains.kotlin.jvm")
|
|
|
|
// Use configure to access the extension safely in subprojects
|
|
configure<org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension> {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
compilerOptions {
|
|
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21)
|
|
freeCompilerArgs.add("-Xjsr305=strict")
|
|
}
|
|
}
|
|
}
|