-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
54 lines (43 loc) · 1.3 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
plugins {
id 'java'
id 'io.github.goooler.shadow' version '8.1.8'
id 'maven-publish'
}
group 'SuperiorSkyblock-Missions'
project.ext {
targetFolder = file("target/")
}
subprojects {
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
repositories {
maven { url 'https://repo.bg-software.com/repository/nms/' }
maven { url 'https://repo.bg-software.com/repository/api/' }
maven { url 'https://repo.bg-software.com/repository/dependencies/' }
maven { url 'https://repo.bg-software.com/repository/common/' }
}
dependencies {
compileOnly "org.spigotmc:v1_16_R3:latest"
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
compileOnly "com.bgsoftware.common.reflection:ReflectionUtils:b7"
compileOnly "com.bgsoftware:SuperiorSkyblockAPI:2024.3"
}
shadowJar {
relocate 'com.bgsoftware.common', 'com.bgsoftware.superiorskyblock.libs.com.bgsoftware.common'
}
build {
dependsOn shadowJar
}
}
build {
dependsOn shadowJar
}
publish.shouldRunAfter shadowJar
shadowJar.shouldRunAfter build
shadowJar.dependsOn subprojects.build
compileJava.dependsOn childProjects.values().shadowJar