-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (40 loc) · 1.14 KB
/
build.gradle
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
import java.text.SimpleDateFormat
import java.util.Date
plugins {
id "java-library"
id "java"
}
repositories {
mavenCentral()
maven {
name = "papermc-repo"
url = "https://repo.papermc.io/repository/maven-public/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
}
group = "red.oases"
version = new SimpleDateFormat("YYYY-MM-dd_HH.mm.ss").format(new Date())
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
implementation("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
implementation("net.kyori:adventure-text-minimessage:4.14.0")
implementation("com.zaxxer:HikariCP:5.0.1")
implementation("com.mysql:mysql-connector-j:8.1.0")
implementation(files("src/main/java/red/oases/core/Extra/Lib/commons-dbutils-1.8.0.jar"))
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
javadoc {
source = sourceSets.main.allJava
}
tasks.named("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}