LuckPerms/sponge/loader/build.gradle

32 lines
637 B
Groovy
Raw Normal View History

2022-02-17 01:22:46 +01:00
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
}