-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (32 loc) · 1.01 KB
/
build.gradle.kts
File metadata and controls
40 lines (32 loc) · 1.01 KB
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
plugins {
`java-library`
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
id("com.google.protobuf") version "0.9.4" apply false
}
group = "dev.cloud"
version = "1.0.0-SNAPSHOT"
subprojects {
apply(plugin = "java-library")
group = rootProject.group
version = rootProject.version
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://nexus.velocitypowered.com/repository/maven-public/")
}
dependencies {
implementation("org.slf4j:slf4j-api:2.0.16")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.0")
}
// Lombok global deaktivieren — wird nur manuell pro Modul aktiviert
configurations.all {
exclude(group = "org.projectlombok")
}
tasks.test { useJUnitPlatform() }
}