mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
38 lines
745 B
Groovy
38 lines
745 B
Groovy
|
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
|
||
|
|
||
|
plugins {
|
||
|
id 'com.github.johnrengelman.shadow'
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation project(':api')
|
||
|
implementation project(':common:loader-utils')
|
||
|
implementation project(':standalone:app')
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes(
|
||
|
'Main-Class': '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
|
||
|
}
|