LuckPerms/standalone/loader/build.gradle
2023-06-24 00:15:03 +01:00

38 lines
751 B
Groovy

import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
plugins {
alias(libs.plugins.shadow)
id("application")
}
dependencies {
implementation project(':api')
implementation project(':common:loader-utils')
implementation project(':standalone:app')
}
sourceCompatibility = 17
targetCompatibility = 17
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
}