-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
101 lines (81 loc) · 2.23 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'maven-publish'
id 'eclipse'
id 'java'
}
repositories {
mavenCentral()
// Spigot
maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
//Bungeecord
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
// Skript
maven {
url 'https://repo.skriptlang.org/releases'
}
// Jitpack
maven {
url 'https://jitpack.io'
}
maven {
url 'https://maven.pkg.github.com/Skungee/ServerInstances/'
credentials {
username = "Skungee"
password = System.getenv("GITHUB_PACKAGES_KEY")
}
}
maven {
url 'https://maven.pkg.github.com/Skungee/Skungee-2.0.0/'
credentials {
username = "Skungee"
password = System.getenv("GITHUB_PACKAGES_KEY")
}
}
maven {
url 'https://maven.pkg.github.com/Sitrica/Japson/'
credentials {
username = "Sitrica"
password = System.getenv("GITHUB_PACKAGES_KEY")
}
}
}
dependencies {
//Nullable annotation
implementation (group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.annotation', version: '2.3.100')
//Spigot/Bukkit
implementation (group: 'org.spigotmc', name: 'spigot-api', version: '1.21.3-R0.1-SNAPSHOT')
//Skript
implementation (group: 'com.github.SkriptLang', name: 'Skript', version: '2.9.5') {
transitive = false
}
//Bungeecord
implementation (group: 'net.md-5', name: 'bungeecord-protocol', version: '1.20-R0.3-SNAPSHOT')
implementation (group: 'net.md-5', name: 'bungeecord-api', version: '1.20-R0.3-SNAPSHOT')
// Skungee
implementation (group: 'com.skungee', name: 'skungee', version: '2.0.0-BETA-4') {
exclude group: 'com.sitrica', module: 'japson'
}
// ServerInstances
shadow (group: 'com.skungee', name: 'serverinstances-beta', version: '1.0.3.8-SNAPSHOT') {
exclude group: 'com.sitrica', module: 'japson'
}
}
processResources {
filter ReplaceTokens, tokens: ["version": project.property("version")]
// from ("lang/") {
// include '*.lang'
// into 'lang/'
// }
}
shadowJar {
configurations = [project.configurations.shadow]
archiveVersion = project.property("version")
archiveBaseName = project.name + ".jar"
minimize()
}