-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
38 lines (30 loc) · 1.04 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group = 'cc.spea.CoreProtectTimeLapse'
version = 'v1.0.4'
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url 'https://maven.playpro.com/' }
maven { url = "https://repo.codemc.org/repository/maven-public/" }
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
compileOnly 'org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT'
compileOnly ('net.coreprotect:coreprotect:22.4'){ transitive = false}
implementation "dev.jorel:commandapi-bukkit-shade:9.3.0"
}
shadowJar {
dependencies {
include dependency("dev.jorel:commandapi-bukkit-shade:9.3.0")
}
// TODO: Change this to my own package name
relocate("dev.jorel.commandapi", "cc.spea.CoreProtectTimeLapse.commandapi")
}
test {
useJUnitPlatform()
}