-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
82 lines (61 loc) · 2.51 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
plugins {
id 'java'
id 'me.bristermitten.pdm' version '0.0.30'
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('pdm', 'shadowJar')
repositories {
mavenCentral()
mavenLocal()
jcenter()
// Spigot NMS maven { url = 'http://maven.elmakers.com/repository/' }
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://repo.citizensnpcs.co/' }
maven { url = 'https://jitpack.io/' }
}
dependencies {
// Spigot NMS compileOnly 'org.spigotmc:spigot:1.8.8-R0.1-SNAPSHOT'
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compileOnly 'com.github.PlaceholderAPI:PlaceholderAPI:2.10.9'
//compileOnly 'com.gmail.filoghost.holographicdisplays:holographicdisplays-api:2.4.0'
//compileOnly 'net.citizensnpcs:citizens:2.0.27-SNAPSHOT'
//compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
implementation 'com.github.HenryFabio:inventory-api:2.0.3'
implementation 'com.github.HenryFabio:sql-provider:9561f20fd2'
implementation 'com.github.HenryFabio:configuration-injector:main-SNAPSHOT'
implementation 'org.bstats:bstats-bukkit:1.8'
pdm 'com.github.SaiintBrisson:command-framework:1.1.0'
pdm "com.google.inject:guice:4.0"
pdm "javax.inject:javax.inject:1"
pdm "aopalliance:aopalliance:1.0"
pdm "org.ow2.asm:asm:8.0.1"
def lombok = 'org.projectlombok:lombok:1.18.16'
compileOnly lombok
annotationProcessor lombok
}
bukkit {
main = 'com.nextplugins.template.NextTemplate'
authors = ['NextPlugins']
website = 'https://nextplugins.com.br'
version = "${project.version}"
depend = ['Vault']
//softDepend = ['Citizens', 'HolographicDisplays', 'PlaceholderAPI', 'Legendchat']
}
shadowJar {
archiveName("${project.name}-${project.version}.jar")
relocate 'com.henryfabio.minecraft.inventoryapi', 'com.nextplugins.economy.libs.inventoryapi'
relocate 'com.henryfabio.sqlprovider', 'com.nextplugins.economy.libs.sqlprovider'
relocate 'com.henryfabio.minecraft.configinjector', 'com.nextplugins.economy.libs.configinjector'
relocate 'org.bstats', 'com.nextplugins.economy.libs.bstats'
}
compileJava {
options.encoding('UTF-8')
sourceCompatibility('1.8')
targetCompatibility('1.8')
}