2021-08-20 19:16:39 +02:00
|
|
|
plugins {
|
2023-06-24 01:15:03 +02:00
|
|
|
id("java-library")
|
2023-08-05 10:49:56 +02:00
|
|
|
id("jacoco")
|
2021-08-20 19:16:39 +02:00
|
|
|
}
|
|
|
|
|
2020-12-22 15:40:29 +01:00
|
|
|
test {
|
2024-06-16 22:11:23 +02:00
|
|
|
useJUnitPlatform {
|
|
|
|
if (!project.hasProperty('dockerTests')) {
|
|
|
|
excludeTags 'docker'
|
|
|
|
}
|
|
|
|
}
|
2020-12-22 15:40:29 +01:00
|
|
|
}
|
|
|
|
|
2023-08-05 10:49:56 +02:00
|
|
|
jacocoTestReport {
|
|
|
|
dependsOn test
|
|
|
|
}
|
|
|
|
|
2018-08-10 21:39:29 +02:00
|
|
|
dependencies {
|
2023-01-05 22:32:50 +01:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.1'
|
2024-12-22 10:50:25 +01:00
|
|
|
testImplementation 'org.testcontainers:junit-jupiter:1.20.4'
|
2024-04-23 22:57:20 +02:00
|
|
|
testImplementation 'org.mockito:mockito-core:5.11.0'
|
|
|
|
testImplementation 'org.mockito:mockito-junit-jupiter:5.11.0'
|
2023-01-05 22:32:50 +01:00
|
|
|
testImplementation 'com.h2database:h2:2.1.214'
|
2024-06-16 22:11:23 +02:00
|
|
|
testImplementation 'org.mongodb:mongodb-driver-legacy:4.5.0'
|
|
|
|
testImplementation 'org.spongepowered:configurate-yaml:3.7.2'
|
|
|
|
testImplementation 'org.spongepowered:configurate-hocon:3.7.2'
|
|
|
|
testImplementation 'me.lucko.configurate:configurate-toml:3.7'
|
2020-12-22 15:40:29 +01:00
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
api project(':api')
|
|
|
|
api 'org.checkerframework:checker-qual:3.12.0'
|
2021-01-04 16:23:54 +01:00
|
|
|
|
2021-02-18 13:21:17 +01:00
|
|
|
compileOnly project(':common:loader-utils')
|
|
|
|
|
2022-05-20 21:09:04 +02:00
|
|
|
compileOnly 'com.mojang:brigadier:1.0.18'
|
2021-01-04 16:23:54 +01:00
|
|
|
compileOnly 'org.slf4j:slf4j-api:1.7.30'
|
|
|
|
compileOnly 'org.apache.logging.log4j:log4j-api:2.14.0'
|
2020-10-16 01:17:42 +02:00
|
|
|
|
2022-06-12 18:48:29 +02:00
|
|
|
api('net.kyori:adventure-api:4.11.0') {
|
2021-04-18 14:33:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
2018-08-10 21:39:29 +02:00
|
|
|
exclude(module: 'checker-qual')
|
2021-04-18 14:33:22 +02:00
|
|
|
exclude(module: 'annotations')
|
|
|
|
}
|
|
|
|
|
2022-06-12 18:48:29 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-gson:4.11.0') {
|
2021-04-18 14:33:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
exclude(module: 'gson')
|
|
|
|
}
|
|
|
|
|
2022-06-12 18:48:29 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-legacy:4.11.0') {
|
2021-04-18 14:33:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
}
|
|
|
|
|
2022-06-12 18:48:29 +02:00
|
|
|
api('net.kyori:adventure-text-serializer-plain:4.11.0') {
|
2021-04-18 14:33:22 +02:00
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
2019-05-07 01:23:40 +02:00
|
|
|
}
|
2020-10-16 01:17:42 +02:00
|
|
|
|
2023-06-24 01:24:16 +02:00
|
|
|
api("net.kyori:adventure-text-minimessage:4.11.0") {
|
|
|
|
exclude(module: 'adventure-bom')
|
|
|
|
exclude(module: 'adventure-api')
|
|
|
|
}
|
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
api('net.kyori:event-api:3.0.0') {
|
2018-08-10 21:39:29 +02:00
|
|
|
exclude(module: 'checker-qual')
|
|
|
|
exclude(module: 'guava')
|
|
|
|
}
|
2021-04-18 19:20:54 +02:00
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
api 'com.google.code.gson:gson:2.7'
|
|
|
|
api 'com.google.guava:guava:19.0'
|
2021-04-18 19:20:54 +02:00
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
api 'com.github.ben-manes.caffeine:caffeine:2.9.0'
|
|
|
|
api 'com.squareup.okhttp3:okhttp:3.14.9'
|
|
|
|
api 'com.squareup.okio:okio:1.17.5'
|
|
|
|
api 'net.bytebuddy:byte-buddy:1.10.22'
|
2023-04-30 22:09:43 +02:00
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
api('org.spongepowered:configurate-core:3.7.2') {
|
2021-04-18 19:20:54 +02:00
|
|
|
transitive = false
|
2018-08-10 21:39:29 +02:00
|
|
|
}
|
2021-08-20 19:16:39 +02:00
|
|
|
api('org.spongepowered:configurate-yaml:3.7.2') {
|
2021-04-18 19:20:54 +02:00
|
|
|
transitive = false
|
2018-08-10 21:39:29 +02:00
|
|
|
}
|
2021-08-20 19:16:39 +02:00
|
|
|
api('org.spongepowered:configurate-gson:3.7.2') {
|
2021-04-18 19:20:54 +02:00
|
|
|
transitive = false
|
2018-08-10 21:39:29 +02:00
|
|
|
}
|
2021-08-20 19:16:39 +02:00
|
|
|
api('org.spongepowered:configurate-hocon:3.7.2') {
|
2021-04-18 19:20:54 +02:00
|
|
|
transitive = false
|
2020-08-01 12:08:46 +02:00
|
|
|
}
|
2021-08-20 19:16:39 +02:00
|
|
|
api('me.lucko.configurate:configurate-toml:3.7') {
|
2021-04-18 19:20:54 +02:00
|
|
|
transitive = false
|
2018-08-10 21:39:29 +02:00
|
|
|
}
|
2023-04-30 22:09:43 +02:00
|
|
|
compileOnly 'com.zaxxer:HikariCP:4.0.3'
|
2023-06-24 00:30:22 +02:00
|
|
|
compileOnly 'redis.clients:jedis:4.4.3'
|
2023-04-30 22:09:43 +02:00
|
|
|
compileOnly 'io.nats:jnats:2.16.4'
|
|
|
|
compileOnly 'com.rabbitmq:amqp-client:5.12.0'
|
|
|
|
compileOnly 'org.mongodb:mongodb-driver-legacy:4.5.0'
|
2023-06-11 15:36:00 +02:00
|
|
|
compileOnly 'org.postgresql:postgresql:42.6.0'
|
2023-04-30 22:09:43 +02:00
|
|
|
compileOnly 'org.yaml:snakeyaml:1.28'
|
2018-08-10 21:39:29 +02:00
|
|
|
}
|