2022-07-20 23:46:22 +02:00
|
|
|
plugins {
|
2023-06-24 01:15:03 +02:00
|
|
|
alias(libs.plugins.blossom)
|
|
|
|
id("java-library")
|
2022-07-20 23:46:22 +02:00
|
|
|
}
|
|
|
|
|
2022-12-11 00:41:33 +01:00
|
|
|
sourceCompatibility = 17
|
|
|
|
targetCompatibility = 17
|
|
|
|
|
2022-07-20 23:46:22 +02:00
|
|
|
dependencies {
|
|
|
|
implementation project(':api')
|
|
|
|
|
|
|
|
api 'org.apache.logging.log4j:log4j-core:2.17.2'
|
|
|
|
api 'org.apache.logging.log4j:log4j-slf4j-impl:2.17.2'
|
|
|
|
api 'net.minecrell:terminalconsoleappender:1.3.0'
|
|
|
|
api 'org.jline:jline-terminal-jansi:3.20.0'
|
|
|
|
|
|
|
|
api 'com.google.code.gson:gson:2.9.0'
|
|
|
|
api 'com.google.guava:guava:31.1-jre'
|
2023-06-08 22:28:15 +02:00
|
|
|
api 'io.netty:netty-all:4.1.93.Final'
|
2022-07-20 23:46:22 +02:00
|
|
|
|
2023-08-05 11:09:30 +02:00
|
|
|
api('net.kyori:adventure-api:4.14.0') {
|
2022-07-20 23:46:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'checker-qual')
|
|
|
|
exclude(module: 'annotations')
|
|
|
|
}
|
2023-08-05 11:09:30 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-gson:4.14.0') {
|
2022-07-20 23:46:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
exclude(module: 'gson')
|
|
|
|
}
|
2023-08-05 11:09:30 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-legacy:4.14.0') {
|
2022-07-20 23:46:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
}
|
2023-08-05 11:09:30 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-plain:4.14.0') {
|
2022-07-20 23:46:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
}
|
2023-06-24 01:24:16 +02:00
|
|
|
api('net.kyori:adventure-text-minimessage:4.14.0') {
|
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
}
|
2023-08-05 11:09:30 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-ansi:4.14.0') {
|
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
exclude(module: 'annotations')
|
|
|
|
}
|
|
|
|
api('net.kyori:ansi:1.0.3') {
|
|
|
|
exclude(module: 'annotations')
|
|
|
|
}
|
2022-07-20 23:46:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
blossom {
|
|
|
|
replaceTokenIn('src/main/java/me/lucko/luckperms/standalone/app/LuckPermsApplication.java')
|
|
|
|
replaceToken '@version@', project.ext.fullVersion
|
|
|
|
}
|