mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-26 02:19:25 +00:00
51 lines
1.9 KiB
Groovy
51 lines
1.9 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
|
}
|
|
|
|
group 'io.github.fisher2911'
|
|
version '1.0.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url = 'https://papermc.io/repo/repository/maven-public/' }
|
|
maven { url = 'https://repo.mattstudios.me/artifactory/public/' }
|
|
maven { url = 'https://jitpack.io' }
|
|
maven { url = 'https://repo.leonardobishop.com/releases/' }
|
|
maven { url = 'https://repo.dmulloy2.net/repository/public/' }
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
compileOnly 'io.papermc.paper:paper:1.17.1-R0.1-SNAPSHOT'
|
|
compileOnly 'org.jetbrains:annotations:22.0.0'
|
|
compileOnly 'com.comphenix.protocol:ProtocolLib:4.7.0'
|
|
compileOnly 'net.kyori:adventure-api:4.9.3'
|
|
implementation 'net.kyori:adventure-text-minimessage:4.2.0-SNAPSHOT'
|
|
implementation 'net.kyori:adventure-platform-bukkit:4.0.0'
|
|
implementation 'dev.triumphteam:triumph-gui:3.0.3'
|
|
implementation 'me.mattstudios.utils:matt-framework:1.4.6'
|
|
implementation 'org.spongepowered:configurate-yaml:4.1.2'
|
|
implementation 'org.bstats:bstats-bukkit:2.2.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
shadowJar {
|
|
relocate 'dev.triumphteam.gui', 'io.github.fisher2911.hmccosmetics.gui'
|
|
relocate 'me.mattstudios.mf', 'io.github.fisher2911.hmccosmetics.mf'
|
|
relocate 'net.kyori.adventure.text.minimessage', 'io.github.fisher2911.hmccosmetics.adventure.minimessage'
|
|
relocate 'net.kyori.adventure.platform', 'io.github.fisher2911.hmccosmetics.adventure.platform'
|
|
relocate 'org.spongepowered.configurate', 'io.github.fisher2911.hmccosmetics.configurate'
|
|
relocate 'org.bstats', 'io.github.fisher2911.hmccosmetics.bstats'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName.set('HMCCosmetics')
|
|
archiveClassifier.set('')
|
|
archiveVersion.set('')
|
|
} |