-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
57 lines (48 loc) · 1.76 KB
/
build.gradle.kts
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
plugins {
kotlin("jvm") version "1.9.21"
id("io.github.goooler.shadow") version "8.1.7"
}
group = "com.artillexstudios.axmines"
version = "1.3.0"
repositories {
mavenCentral()
maven("https://repo.artillex-studios.com/releases/")
maven("https://repo.alessiodp.com/releases/")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://jitpack.io/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
maven("https://repo.oraxen.com/releases/")
}
dependencies {
implementation("com.artillexstudios.axapi:axapi:1.4.379:all")
implementation("org.bstats:bstats-bukkit:3.0.2")
implementation("dev.triumphteam:triumph-gui:3.1.7")
compileOnly("org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("org.slf4j:slf4j-api:2.0.9")
compileOnly("org.apache.commons:commons-text:1.11.0")
compileOnly("commons-io:commons-io:2.15.0")
compileOnly("org.apache.commons:commons-math3:3.6.1")
compileOnly("me.clip:placeholderapi:2.11.5")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.9.21")
compileOnly("com.github.oraxen:oraxen:1.161.0")
compileOnly("com.github.LoneDev6:api-itemsadder:3.6.1")
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
}
shadowJar {
relocate("com.artillexstudios.axapi", "com.artillexstudios.axmines.libs.axapi")
relocate("org.bstats", "com.artillexstudios.axmines.libs.bstats")
relocate("org.apache.commons.math3", "com.artillexstudios.axmines.libs.axapi.libs.math3")
}
processResources {
filteringCharset = Charsets.UTF_8.name()
filesMatching("plugin.yml") {
expand(mapOf("version" to project.version))
}
}
}
kotlin {
jvmToolchain(17)
}