mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 14:16:44 +01:00
fd0c2050d8
* Refactor: Replace Rörledning with Cloud-Services Cloud-Services is actually maintained, as opposed to Rörledning. Furthermore, Rörledning is available through Maven Central, whereas rörledning isn't. This is a semi-breaking change, but because we relocate, it might be fine? Either way, this is a necessary change. * build: Provide jsr at runtime * Merge branch 'v6' into refactor/v6/cloud-services Co-authored-by: NotMyFault <mc.cache@web.de>
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
import java.time.format.DateTimeFormatter
|
|
|
|
dependencies {
|
|
// Expected everywhere.
|
|
compileOnlyApi(libs.checkerqual)
|
|
|
|
// Minecraft expectations
|
|
compileOnlyApi(libs.gson)
|
|
compileOnly(libs.guava)
|
|
|
|
// Platform expectations
|
|
compileOnlyApi(libs.snakeyaml)
|
|
|
|
// Adventure
|
|
api(libs.adventure)
|
|
api(libs.minimessage)
|
|
|
|
// Guice
|
|
api(libs.guice) {
|
|
exclude(group = "com.google.guava")
|
|
}
|
|
api(libs.guiceassistedinject) {
|
|
exclude("com.google.inject", "guice")
|
|
}
|
|
api(libs.findbugs)
|
|
|
|
// Plugins
|
|
compileOnly(libs.worldeditCore) {
|
|
exclude(group = "bukkit-classloader-check")
|
|
exclude(group = "mockito-core")
|
|
exclude(group = "dummypermscompat")
|
|
}
|
|
testImplementation(libs.worldeditCore)
|
|
compileOnly(libs.fastasyncworldeditCore) { isTransitive = false }
|
|
testImplementation(libs.fastasyncworldeditCore) { isTransitive = false }
|
|
|
|
// Logging
|
|
compileOnlyApi(libs.log4j)
|
|
|
|
// Other libraries
|
|
api(libs.prtree)
|
|
api(libs.aopalliance)
|
|
api(libs.cloudServices)
|
|
api(libs.arkitektonika)
|
|
api(libs.paster)
|
|
}
|
|
|
|
tasks.processResources {
|
|
filesMatching("plugin.properties") {
|
|
expand(
|
|
"version" to project.version.toString(),
|
|
"commit" to rootProject.grgit.head().abbreviatedId,
|
|
"date" to rootProject.grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd"))
|
|
)
|
|
}
|
|
}
|