mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-28 00:29:47 +02:00
35 lines
679 B
Groovy
35 lines
679 B
Groovy
plugins {
|
|
alias(libs.plugins.shadow)
|
|
}
|
|
|
|
sourceCompatibility = 21
|
|
targetCompatibility = 21
|
|
|
|
repositories {
|
|
maven { url 'https://repo.spongepowered.org/repository/maven-public/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spongepowered:spongeapi:12.0.0'
|
|
|
|
implementation project(':api')
|
|
implementation project(':common:loader-utils')
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('META-INF/sponge_plugins.json') {
|
|
expand 'pluginVersion': project.ext.fullVersion
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = "LuckPerms-Sponge-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':sponge').tasks.shadowJar.archiveFile
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
} |