mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Update SpongeGradle to 1.1.1-SNAPSHOT and Indra to 2.0.5
Also move common configuration to convention plugins
This commit is contained in:
1 parent
6518cecce2
commit
eb7ec4353f
14 files changed
+117
-108
No files matched your search
@@ -0,0 +1,18 @@
|
||||
plugins {
|
||||
id("carbon.platform-conventions")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
}
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
archiveClassifier.set("unshaded")
|
||||
}
|
||||
shadowJar {
|
||||
archiveClassifier.set(null as String?)
|
||||
configureShadowJar()
|
||||
}
|
||||
}
|
||||
|
||||
extensions.configure<CarbonPlatformExtension> {
|
||||
jarTask.set(tasks.shadowJar)
|
||||
}
|
||||
Reference in new issue
Block a user