@file:Suppress("VulnerableLibrariesLocal") dependencies { compileOnly("com.google.code.gson:gson:2.8.0") // https://mvnrepository.com/artifact/org.yaml/snakeyaml compileOnly("org.yaml:snakeyaml:1.30") // https://mvnrepository.com/artifact/org.slf4j/slf4j-api compileOnly("org.slf4j:slf4j-api:2.0.12") compileOnlyApi("net.kyori:adventure-platform-api:4.3.2") { exclude(group = "org.jetbrains") } compileOnlyApi("net.kyori:adventure-text-serializer-gson:4.13.1") { exclude(group = "org.jetbrains") exclude(group = "com.google.code.gson") } compileOnlyApi("net.kyori:adventure-text-serializer-legacy:4.13.1") { exclude(group = "org.jetbrains") exclude(group = "com.google.code.gson") } // https://mvnrepository.com/artifact/com.zaxxer/HikariCP compileOnly("com.zaxxer:HikariCP:4.0.3") { isTransitive = false } // https://mvnrepository.com/artifact/redis.clients/jedis compileOnlyApi("redis.clients:jedis:5.1.4") { exclude(group = "com.google.code.gson") exclude(group = "org.slf4j") } // https://mvnrepository.com/artifact/io.lettuce/lettuce-core compileOnlyApi("io.lettuce:lettuce-core:6.7.1.RELEASE") { exclude(group = "io.netty") exclude(group = "org.slf4j") } } tasks { withType { archiveBaseName = "HamsterCore-Common" } }