mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
* Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task * Add maven central as fallback for paper mirror * filter duplicate dependencies * fix fabric runServer * add todo * enable hangar publishing * - exclude unneeded deps from runtime dl - sort deps and relocations in the list file - other misc fixes * move jdbi relocation * don't log anything when we don't download or relocate any dependencies * add back mariadb driver and download more dependencies at runtime and other related build changes * build cleanup * build cleanup * remove useless dependencies block
20 lines
341 B
Kotlin
20 lines
341 B
Kotlin
plugins {
|
|
id("carbon.platform-conventions")
|
|
id("com.github.johnrengelman.shadow")
|
|
}
|
|
|
|
tasks {
|
|
jar {
|
|
archiveClassifier.set("unshaded")
|
|
}
|
|
shadowJar {
|
|
archiveClassifier.set(null as String?)
|
|
configureShadowJar()
|
|
mergeServiceFiles()
|
|
}
|
|
}
|
|
|
|
extensions.configure<CarbonPlatformExtension> {
|
|
jarTask.set(tasks.shadowJar)
|
|
}
|