LuckPerms/sponge/loader/build.gradle
2022-02-17 00:22:46 +00:00

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
}