-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon-java.gradle
43 lines (35 loc) · 1.07 KB
/
common-java.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
sourceCompatibility = JavaVersion.VERSION_15
targetCompatibility = JavaVersion.VERSION_15
repositories {
mavenCentral()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
maven { url = 'https://repo.opencollab.dev/maven-snapshots' }
maven { url = 'https://jitpack.io' }
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
}
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
// Plugins.
implementation 'net.luckperms:api:5.4'
implementation 'org.geysermc:geyser-api:2.0.0-SNAPSHOT'
implementation 'org.geysermc.floodgate:api:2.0-SNAPSHOT'
// Annotations.
implementation 'org.jetbrains:annotations:23.0.0'
}
test {
useJUnitPlatform()
}
processResources {
filesMatching('*.yml') {
expand(
"version": project.version.toString()
)
}
}