-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
43 lines (34 loc) · 879 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
plugins {
kotlin("jvm") version "2.0.0-Beta2" apply true
kotlin("plugin.serialization") version "2.0.0-Beta2" apply false
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
}
allprojects {
repositories {
mavenCentral()
maven("https://repo.worldmandia.cc/releases/")
}
apply(plugin = "org.jetbrains.kotlin.jvm")
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
kotlin {
jvmToolchain(17)
}
}
subprojects {
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
group = "cc.worldmandia"
version = findProperty("version")!! as String
dependencies {
testImplementation(kotlin("test"))
}
tasks {
test {
useJUnitPlatform()
}
}
}