-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 948 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
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-paper") version "2.3.1"
}
group = "net.mine-asterisk.mc"
version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
implementation("com.zaxxer:HikariCP:5.1.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.0")
testImplementation("org.mockito:mockito-core:5.13.0")
testImplementation("com.github.seeseemelk:MockBukkit-v1.21:3.119.3")
testImplementation("com.mysql:mysql-connector-j:9.0.0")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
runServer {
minecraftVersion("1.21.1")
}
test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
}