1
0
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:
Luck
2022-07-20 22:46:22 +01:00
parent 8b0d6fd5d2
commit d36341c139
29 changed files with 2404 additions and 3 deletions

View 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
}