AxMinions/build.gradle

169 lines
5.5 KiB
Groovy
Raw Normal View History

2023-10-01 18:46:23 +02:00
plugins {
id 'java-library'
2024-05-10 17:52:52 +02:00
id 'io.github.goooler.shadow' version "8.1.7"
2023-10-01 18:46:23 +02:00
id 'maven-publish'
id 'java'
2024-05-10 17:52:52 +02:00
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
2023-10-01 18:46:23 +02:00
}
group = 'com.artillexstudios.axminions'
2024-06-25 12:34:22 +02:00
version = '1.0.11'
2023-10-01 18:46:23 +02:00
repositories {
mavenCentral()
maven {
url = uri('https://jitpack.io/')
}
}
dependencies {
implementation project(path: ":api")
2023-10-04 20:30:39 +02:00
implementation project(path: ":common")
implementation project(path: ":nms:v1_18_R2", configuration: "reobf")
2024-04-05 15:13:49 +02:00
implementation project(path: ":nms:v1_19_R1", configuration: "reobf")
implementation project(path: ":nms:v1_19_R2", configuration: "reobf")
implementation project(path: ":nms:v1_19_R3", configuration: "reobf")
2023-10-15 17:29:21 +02:00
implementation project(path: ":nms:v1_20_R1", configuration: "reobf")
2023-11-05 13:26:21 +01:00
implementation project(path: ":nms:v1_20_R2", configuration: "reobf")
2023-12-22 13:42:00 +01:00
implementation project(path: ":nms:v1_20_R3", configuration: "reobf")
2024-05-10 17:52:52 +02:00
implementation project(path: ":nms:v1_20_R4", configuration: "reobf")
implementation project(path: ":nms:v1_21_R1", configuration: "reobf")
2023-10-01 18:46:23 +02:00
}
allprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'java'
apply plugin: 'java-library'
2024-05-10 17:52:52 +02:00
apply plugin: 'io.github.goooler.shadow'
2023-10-01 18:46:23 +02:00
kotlin {
jvmToolchain(17)
}
2023-10-05 19:15:36 +02:00
compileKotlin {
kotlinOptions {
javaParameters = true
}
}
2023-10-01 18:46:23 +02:00
repositories {
mavenCentral()
mavenLocal()
2024-01-29 20:16:45 +01:00
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
}
2023-10-01 18:46:23 +02:00
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
maven {
url = uri('https://repo.rosewooddev.io/repository/public/' )
}
maven {
url = uri('https://repo.bg-software.com/repository/api/' )
}
maven {
url = uri('https://jitpack.io/')
}
maven {
url = uri('https://repo.alessiodp.com/releases/')
}
maven {
url = uri('https://repo.rosewooddev.io/repository/public/')
}
maven {
url = uri('https://repo.bg-software.com/repository/api/')
}
maven {
url = uri('https://repo.essentialsx.net/releases/')
}
maven {
url = uri('https://maven.enginehub.org/repo/')
}
maven {
url = uri('https://repo.codemc.org/repository/maven-snapshots')
}
maven {
url = uri('https://repo.codemc.org/repository/maven-public/')
}
maven {
url = uri('https://repo.alessiodp.com/releases/')
}
2023-12-22 13:42:00 +01:00
maven {
url = uri("https://repo.artillex-studios.com/releases")
}
maven {
url = uri("https://repo.glaremasters.me/repository/towny")
}
2024-04-17 16:32:03 +02:00
maven {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
2023-10-01 18:46:23 +02:00
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'dev.rosewood:rosestacker:1.5.11'
compileOnly 'com.bgsoftware:WildStackerAPI:2023.2'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'com.github.brcdev-minecraft:shopgui-api:3.0.0'
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.9.0'
2023-10-04 20:30:39 +02:00
compileOnly 'com.h2database:h2:2.2.220'
compileOnly 'com.bgsoftware:WildStackerAPI:2023.2'
compileOnly 'net.essentialsx:EssentialsX:2.19.0'
2024-02-27 22:03:22 +01:00
compileOnly 'com.github.Gypopo:EconomyShopGUI-API:1.7.0'
compileOnly 'com.github.brcdev-minecraft:shopgui-api:3.0.0'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.1.0-SNAPSHOT'
compileOnly 'com.bgsoftware:SuperiorSkyblockAPI:2023.2'
compileOnly 'world.bentobox:bentobox:1.24.0-SNAPSHOT'
compileOnly 'com.github.TechFortress:GriefPrevention:16.18'
compileOnly 'com.github.angeschossen:LandsAPI:6.29.12'
compileOnly 'com.intellectualsites.plotsquared:plotsquared-core:7.0.0-rc.4'
compileOnly 'com.intellectualsites.plotsquared:plotsquared-bukkit:7.0.0-rc.4'
2024-02-07 17:51:07 +01:00
compileOnly 'com.github.LoneDev6:api-itemsadder:3.6.1'
compileOnly 'com.palmergames.bukkit.towny:towny:0.100.1.0'
implementation platform('com.intellectualsites.bom:bom-newest:1.35')
2024-06-25 12:34:22 +02:00
implementation("com.artillexstudios.axapi:axapi:1.4.269:all")
2024-01-29 15:29:51 +01:00
implementation("com.zaxxer:HikariCP:5.1.0")
2024-01-30 17:32:19 +01:00
implementation("org.bstats:bstats-bukkit:3.0.2")
2024-01-29 20:16:45 +01:00
compileOnly 'org.black_ixx:playerpoints:3.2.6'
2024-03-26 15:46:54 +01:00
compileOnly 'com.github.Maxlego08:zShop-API:3.0.5'
2024-04-17 16:32:03 +02:00
compileOnly 'me.clip:placeholderapi:2.11.5'
2023-10-01 18:46:23 +02:00
}
}
2024-03-22 14:01:46 +01:00
shadowJar {
relocate("com.artillexstudios.axapi", "com.artillexstudios.axminions.libs.axapi")
relocate("org.h2", "com.artillexstudios.axminions.libs.h2")
relocate("org.jetbrains.kotlin", "com.artillexstudios.axminions.libs.kotlin")
relocate("com.zaxxer", "com.artillexstudios.axminions.libs.hikaricp")
relocate("org.bstats", "com.artillexstudios.axminions.libs.bstats")
relocate("net.byteflux", "com.artillexstudios.axminions.libs.libby")
relocate("net.kyori", "com.artillexstudios.axminions.libs.kyori")
relocate("revxrsal.commands", "com.artillexstudios.axminions.libs.lamp")
relocate("org.jetbrains.annotations", "com.artillexstudios.axminions.libs.annotations")
relocate("org.intellij.lang.annotations", "com.artillexstudios.axminions.libs.intellij.annotations")
}
2023-10-01 18:46:23 +02:00
kotlin {
jvmToolchain(17)
2023-10-22 16:50:31 +02:00
}
2024-04-05 15:13:49 +02:00
tasks.build.dependsOn(shadowJar)