This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
/
build.gradle
83 lines (71 loc) · 2.45 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
defaultTasks 'clean', 'screamCompile'
allprojects {
group = 'io.pronze.hypixelify'
version = SBA_VERSION
}
buildscript {
repositories {
maven {
url = 'https://repo.screamingsandals.org/public'
}
}
dependencies {
classpath 'org.screamingsandals.gradle.builder:screaming-plugin-builder:' + SCREAMING_PLUGIN_BUILDER_VERSION
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.screamingsandals.gradle.builder'
enableShadowPlugin()
configurations.all {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = uri('https://gitlab.hoznet.dev/api/v4/projects/13/packages/maven')
}
maven {
url = uri('https://repo.dmulloy2.net/nexus/repository/public/')
}
maven {
url = uri('https://repo.screamingsandals.org/public')
}
maven {
url = uri('https://gitlab.hoznet.dev/api/v4/projects/9/packages/maven')
}
maven {
url = uri('https://repo.extendedclip.com/content/repositories/placeholderapi/')
}
maven {
url = uri('https://papermc.io/repo/repository/maven-public/')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
maven {
url = uri('https://repo.screamingsandals.org/')
}
}
dependencies {
compileOnly paperLegacy(PAPER_LEGACY_VERSION)
compileOnly 'org.screamingsandals.bedwars:BedWars:' + BEDWARS_VERSION
compileOnly 'org.screamingsandals.bedwars:BedWars-API:' + BEDWARS_VERSION
}
shadowJar {
relocate 'org.spongepowered.configurate', 'io.github.pronze.lib.configurate'
relocate 'org.yaml.snakeyaml', 'io.github.pronze.lib.snakeyaml'
relocate 'net.kyori', 'io.github.pronze.lib.kyori'
relocate 'cloud.commandframework', 'io.github.pronze.lib.cloud'
relocate 'me.lucko.commodore', 'io.github.pronze.lib.commodore'
relocate 'pronze.lib', 'io.github.pronze.lib.pronzelib'
relocate 'org.screamingsandals.lib', 'io.github.pronze.lib.screaminglib'
relocate 'org.screamingsandals.simpleinventories', 'io.github.pronze.lib.simpleinventories'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
sourceCompatibility = '11.0'
}