mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-08 21:30:55 +02:00
Implement standalone/cli app
This commit is contained in:
37
standalone/loader/build.gradle
Normal file
37
standalone/loader/build.gradle
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user