-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
50 lines (41 loc) · 1.49 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'java'
}
group 'fr.zorg'
version '1.1.0'
def mcVersion = '1.17'
def subVersion = ''
repositories {
mavenCentral()
maven { url = 'https://jitpack.io' }
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://repo.destroystokyo.com/repository/maven-public/' }
}
dependencies {
compileOnly group: 'org.spigotmc', name: 'spigot-api', version: mcVersion + subVersion + '-R0.1-SNAPSHOT'
compileOnly group: 'net.md-5', name: 'bungeecord-api', version: mcVersion + '-R0.1-SNAPSHOT'
compileOnly group: 'org.jetbrains', name: 'annotations', version: '16.0.2'
compileOnly (group: 'com.github.SkriptLang', name: 'Skript', version: '2.6-alpha1') {
exclude group: 'com.sk89q.worldguard', module: 'worldguard-legacy'
exclude group: 'net.milkbowl.vault', module: 'Vault'
}
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
implementation group: 'com.github.rockaport', name:'alice', version: '0.9.0'
}
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
processResources {
filter ReplaceTokens, tokens: [
'version': project.property("version"),
]
}
configurations {
implementation {
canBeResolved = true
}
}
shadowJar {
archiveName("BungeeSK.jar")
}