-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (41 loc) · 1.5 KB
/
Copy pathbuild.gradle
File metadata and controls
50 lines (41 loc) · 1.5 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
41
42
43
44
45
46
47
48
49
50
subprojects {
apply plugin: 'java-library'
group 'it.impo'
version '1.0.1'
java {
// Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example.
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
compileJava {
options.encoding = 'UTF-8' // We want UTF-8 for everything
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable.
// See https://openjdk.java.net/jeps/247 for more information.
options.release.set(21)
}
javadoc {
options.encoding = 'UTF-8' // We want UTF-8 for everything
}
processResources {
filteringCharset = 'UTF-8' // We want UTF-8 for everything
}
}
repositories {
mavenCentral()
maven {
url = 'https://repo.papermc.io/repository/maven-public/'
}
maven {
url = 'https://jitpack.io'
}
}
dependencies {
implementation("org.jetbrains:annotations:24.0.0")
implementation 'com.zaxxer:HikariCP:5.0.1'
implementation 'org.mindrot:jbcrypt:0.4'
implementation 'org.json:json:20250107'
implementation("net.kyori:adventure-platform-bukkit:4.3.1")
compileOnly "io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT"
compileOnly("dev.jorel:commandapi-paper-core:11.2.0")
}
}