This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (38 loc) · 1.48 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
plugins {
// id "com.github.gmazzo.buildconfig" version "${BUILDCONFIG_VERSION}" apply false
id "org.screamingsandals.plugin-builder" version "${SCREAMING_PLUGIN_BUILDER_VERSION}" apply false
}
allprojects {
group = "com.notfoundname.xpwars"
version = "${XPWARS_VERSION}"
}
defaultTasks "clean", "screamCompile"
subprojects {
apply plugin: "java"
apply plugin: "org.screamingsandals.plugin-builder"
repositories {
mavenCentral()
maven { url "https://jitpack.io/" }
maven { url "https://maven.elytrium.net/repo/" }
maven { url "https://repo.codemc.org/repository/maven-public/" }
maven { url "https://repo.extendedclip.com/content/repositories/placeholderapi/" }
maven { url "https://repo.screamingsandals.org/public/" }
maven { url "https://repo.papermc.io/repository/maven-public/" }
}
dependencies {
compileOnly "com.destroystokyo.paper:paper-api:${PAPER_VERSION}"
implementation "org.bstats:bstats-bukkit:${BSTATS_VERSION}"
}
enableShadowPlugin()
shadowJar {
relocate "org.bstats", "com.notfoundname.xpwars.thirdparty.bstats"
relocate "net.elytrium", "com.notfoundname.xpwars.thirdparty.elytrium"
if (System.getenv("BUILD_NUMBER") != null) {
archiveClassifier.set(System.getenv("BUILD_NUMBER"))
} else {
archiveClassifier.set("null")
}
}
compileJava.options.encoding = "UTF-8"
sourceCompatibility = "11"
}