-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
60 lines (48 loc) · 991 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
kotlin("jvm") version "2.1.0"
application
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "application")
version = "0.1.0"
repositories {
mavenCentral()
}
}
subprojects {
sourceSets.main {
kotlin.srcDir("kotlin")
resources.srcDir("resources")
}
tasks.compileKotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
}
kotlin {
jvmToolchain(21)
}
}
project(":common") {
dependencies {
implementation("org.jetbrains:annotations:26.0.2")
}
}
project(":client") {
dependencies {
implementation(project(":common"))
}
application {
mainClass = "terramodulus.client.Main"
}
}
project(":server") {
dependencies {
implementation(project(":common"))
}
application {
mainClass = "terramodulus.server.Main"
}
}