forked from milkwalk/XPBoost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
96 lines (80 loc) · 2.15 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
plugins {
id "java"
id "com.github.johnrengelman.shadow" version "8.1.1"
id "maven-publish"
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = uri('https://papermc.io/repo/repository/maven-public/')
}
maven {
url = uri('http://repo.mvdw-software.be/content/groups/public/')
allowInsecureProtocol = true
}
maven {
url = uri('https://repo.inventivetalent.org/content/repositories/releases/')
}
maven {
url = uri('https://nexus.neetgames.com/repository/maven-releases/')
}
maven {
url = uri('http://nexus.hc.to/content/repositories/pub_releases/')
allowInsecureProtocol = true
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
maven {
url = uri('https://repo.papermc.io/repository/maven-public/')
}
maven {
url = uri('https://minevolt.net/repo/')
}
}
dependencies {
implementation libs.com.zaxxer.hikaricp
compileOnly libs.commons.io.commons.io
compileOnly libs.io.papermc.paper.paper.api
compileOnly (libs.com.github.milkbowl.vaultapi) {
exclude group: 'org.bukkit', module: 'bukkit'
}
compileOnly libs.org.projectlombok.lombok
annotationProcessor libs.org.projectlombok.lombok
compileOnly libs.com.gmail.nossr50.mcmmo.mcmmo
compileOnly (libs.com.github.zrips.jobs) {
exclude group: 'com.sk89q.worldguard', module: 'worldguard-bukkit'
exclude group: 'com.sk89q', module: 'worldguard'
exclude group: 'com.sk89q.worldedit', module: 'worldedit-bukkit'
}
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}
group = 'cz.dubcat'
version = '3.5.0'
description = 'XPBoost'
shadowJar {
delete fileTree("./target/") {
exclude archiveFileName.get()
}
dependsOn(jar)
}
build {
dependsOn shadowJar
dependsOn publish
}
publish.shouldRunAfter shadowJar
build
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}