-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
55 lines (44 loc) · 1.3 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'aikar-repo'
url = 'https://repo.aikar.co/content/groups/aikar/'
}
maven {
name = 'essx-repo'
url = 'https://ci.ender.zone/plugin/repository/everything/'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT'
compileOnly 'net.ess3:EssentialsX:2.18.0'
implementation 'co.aikar:idb-core:1.0.0-SNAPSHOT'
implementation 'com.zaxxer:HikariCP:2.4.1'
runtimeOnly 'org.xerial:sqlite-jdbc:3.30.1'
runtimeOnly 'mysql:mysql-connector-java:5.1.48'
testImplementation 'junit:junit:4.12'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
shadowJar {
minimize()
relocate 'co.aikar.idb', 'io.github.essentialsx.cmiimporter.idb'
relocate 'com.zaxxer.hikari', 'io.github.essentialsx.cmiimporter.hikari'
}
build.dependsOn shadowJar