2022-07-20 23:46:22 +02:00
|
|
|
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
|
|
|
|
|
|
|
|
plugins {
|
2023-06-24 01:15:03 +02:00
|
|
|
alias(libs.plugins.shadow)
|
|
|
|
id("application")
|
2022-07-20 23:46:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':api')
|
|
|
|
implementation project(':common:loader-utils')
|
|
|
|
implementation project(':standalone:app')
|
|
|
|
}
|
|
|
|
|
2022-12-11 00:41:33 +01:00
|
|
|
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
|
|
|
|
}
|