LuckPerms/standalone/loader/build.gradle

38 lines
760 B
Groovy
Raw Normal View History

2022-07-20 23:46:22 +02:00
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
plugins {
id 'com.github.johnrengelman.shadow'
2022-09-05 22:35:38 +02:00
id 'application'
2022-07-20 23:46:22 +02:00
}
dependencies {
implementation project(':api')
implementation project(':common:loader-utils')
implementation project(':standalone:app')
}
sourceCompatibility = 17
targetCompatibility = 17
2022-09-05 22:35:38 +02:00
application {
mainClass = 'me.lucko.luckperms.standalone.loader.StandaloneLoader'
2022-07-20 23:46:22 +02:00
}
processResources {
include '*.xml'
}
shadowJar {
archiveFileName = "LuckPerms-Standalone-${project.ext.fullVersion}.jar"
from {
project(':standalone').tasks.shadowJar.archiveFile
}
transform(Log4j2PluginsCacheFileTransformer)
}
artifacts {
archives shadowJar
}