-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (28 loc) · 1.22 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
plugins {
id "java"
id "com.github.johnrengelman.shadow" version "5.1.0"
}
group 'net.wytrem.spigot'
version '1.4'
sourceCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
//Spigot
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
//Because Spigot depends on Bungeecord ChatComponent-API
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
// Pick only one of these and read the comment in the repositories block.
compileOnly 'org.spigotmc:spigot-api:+' // The Spigot API with no shadowing. Requires the OSS repo.
implementation 'net.wytrem.spigot.utils:core:+'
implementation 'net.wytrem.spigot.utils:offers:+'
implementation 'net.wytrem.spigot.utils:transactions:+'
// compileOnly 'org.bukkit:bukkit:1.14.4-R0.1-SNAPSHOT' // The Bukkit API with no shadowing.
// compileOnly 'org.spigotmc:spigot:1.14.4-R0.1-SNAPSHOT' // The full Spigot server with no shadowing. Requires mavenLocal.
// compileOnly 'org.bukkit:craftbukkit:1.14.4-R0.1-SNAPSHOT' // The full CraftBukkit server with no shadowing. Requires mavenLocal.
}
shadowJar {
relocate "net.wytrem.spigot.utils", "net.wytrem.spigot.tictactoe.utils"
}