mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
32 lines
637 B
Groovy
32 lines
637 B
Groovy
|
plugins {
|
||
|
id 'com.github.johnrengelman.shadow'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
maven { url 'https://repo.spongepowered.org/repository/maven-public/' }
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly 'org.spongepowered:spongeapi:8.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
|
||
|
}
|