mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 13:45:20 +01:00
35 lines
709 B
Groovy
35 lines
709 B
Groovy
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
|
|
|
|
plugins {
|
|
id 'com.github.johnrengelman.shadow'
|
|
id 'application'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':api')
|
|
implementation project(':common:loader-utils')
|
|
implementation project(':standalone:app')
|
|
}
|
|
|
|
application {
|
|
mainClass = 'me.lucko.luckperms.standalone.loader.StandaloneLoader'
|
|
}
|
|
|
|
processResources {
|
|
include '*.xml'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = "LuckPerms-Standalone-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':standalone').tasks.shadowJar.archiveFile
|
|
}
|
|
|
|
transform(Log4j2PluginsCacheFileTransformer)
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|