-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (57 loc) · 1.71 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
plugins {
id 'java'
}
group 'de.snap20lp.offlineplayers'
version '3.3.3'
repositories {
maven { url = 'https://repo.md-5.net/content/groups/public' }
mavenLocal()
mavenCentral()
maven {
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots"
}
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven { url "https://repo.dmulloy2.net/repository/public/" }
maven {
name = 'glaremasters repo'
url = 'https://repo.glaremasters.me/repository/towny/'
}
maven {
url = "https://repo.onarandombox.com/content/groups/public/"
}
maven {
name "papermc"
url "https://papermc.io/repo/repository/maven-public/"
}
maven { url "https://maven.enginehub.org/repo/" }
}
configurations {
compileOnly.setCanBeResolved(true)
}
dependencies {
implementation 'org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT'
implementation 'LibsDisguises:LibsDisguises:10.0.37'
implementation 'com.comphenix.protocol:ProtocolLib:5.0.0'
implementation 'com.google.code.gson:gson:2.10.1'
compileOnly 'com.palmergames.bukkit.towny:towny:0.100.1.18'
compileOnly 'com.onarandombox.multiverseinventories:multiverse-inventories:4.2.5'
compileOnly 'com.onarandombox.multiversecore:multiverse-core:4.3.12'
compileOnly 'com.gitlab.redstonerevive:Departed-Depot:1.3.1-ALPHA'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.0'
}
test {
useJUnitPlatform()
}
task testServer () {
onlyIf = { true } // Always run.
dependsOn ":build"
mustRunAfter ":build"
doLast {
exec {
ignoreExitValue = true
commandLine "./testing_script.sh"
}
}
}