-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (35 loc) · 1.19 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
plugins {
id 'java'
id 'groovy'
}
group = 'net.farhaven'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://repo.glaremasters.me/repository/bungeecord/' }
maven { url = 'https://repo.glaremasters.me/repository/bloodshot/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url = 'https://repo.lucko.me/' }
}
dependencies {
implementation 'org.apache.groovy:groovy:4.0.14'
implementation 'net.luckperms:api:5.4'
implementation 'com.griefdefender:api:2.1.0-SNAPSHOT'
implementation 'me.clip:placeholderapi:2.11.3'
compileOnly 'org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21) // Changed to Java 17 for better compatibility
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
}