more build improvements
This commit is contained in:
@@ -1,32 +1,16 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.2.10"
|
||||
kotlin("plugin.serialization") version "2.2.20"
|
||||
}
|
||||
|
||||
group = "moe.rosa"
|
||||
version = "0.1.0"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
|
||||
implementation(kotlin("reflect"))
|
||||
}
|
||||
kotlin {
|
||||
jvmToolchain(24)
|
||||
}
|
||||
|
||||
tasks.build.configure {
|
||||
tasks.register("build").configure {
|
||||
group = "build"
|
||||
dependsOn("test")
|
||||
dependsOn(":plt-build:build")
|
||||
dependsOn(":plt-build-wrapper:compileGo")
|
||||
dependsOn(":plt-fetch:compileGo")
|
||||
dependsOn(":plt-pkg:compileGo")
|
||||
dependsOn(":plt-server:compileGo")
|
||||
dependsOn(":plt-updated:compileGo")
|
||||
}
|
||||
tasks.test.configure {
|
||||
tasks.register("test").configure {
|
||||
group = "verification"
|
||||
dependsOn(":plt-build:test")
|
||||
dependsOn(":plt-build-wrapper:testGo")
|
||||
dependsOn(":plt-fetch:testGo")
|
||||
dependsOn(":plt-pkg:testGo")
|
||||
|
||||
Reference in New Issue
Block a user