-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (44 loc) · 1.47 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '5.0.0'
id 'net.minecrell.plugin-yml.bukkit' version '0.3.0'
}
group 'com.nextplugins'
version '1.0.0'
tasks.build.dependsOn('shadowJar')
repositories {
mavenCentral()
// spigot
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/groups/public/' }
// libs
maven { url = 'https://repo.codemc.org/repository/maven-public/' }
maven { url = 'https://jitpack.io/' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
compileOnly 'com.gmail.filoghost.holographicdisplays:holographicdisplays-api:2.4.0'
implementation 'com.github.eikefab:YamlAdapter:1.0.0'
implementation 'org.bstats:bstats-bukkit:2.2.1'
def lombok = 'org.projectlombok:lombok:1.18.20'
compileOnly lombok
annotationProcessor lombok
}
bukkit {
main = 'br.com.nextplugins.bonusmine.NextBonusMine'
authors = ['NextPlugins']
website = 'https://nextplugins.com.br'
version = "${project.version}"
load = 'POSTWORLD'
softDepend = ['HolographicDisplays']
}
shadowJar {
archiveName("${project.name}.jar")
relocate 'com.github.eikefab.libs', 'br.com.nextplugins.bonusmine.libs.yamladapter'
relocate 'org.bstats', 'br.com.nextplugins.bonusmine.libs.bstats'
}
compileJava {
options.encoding = "UTF-8"
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}