mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Use custom version of Shadow for Record support
This is necessary until jdependency updates, and then shadow pulls that update.
This commit is contained in:
1 parent
7479fdf1fc
commit
93a9194711
8 files changed
+48
-37
No files matched your search
+3
-9
@@ -1,15 +1,9 @@
|
||||
import net.kyori.indra.IndraCheckstylePlugin
|
||||
import net.kyori.indra.IndraPlugin
|
||||
import net.kyori.indra.IndraPublishingPlugin
|
||||
import net.kyori.indra.repository.sonatypeSnapshots
|
||||
|
||||
plugins {
|
||||
id("net.kyori.indra")
|
||||
id("net.kyori.indra.git")
|
||||
id("net.kyori.indra.checkstyle")
|
||||
id("net.kyori.indra.publishing") apply false
|
||||
//id("com.github.johnrengelman.shadow") apply false
|
||||
id("org.checkerframework") apply false
|
||||
}
|
||||
|
||||
group = "net.draycia"
|
||||
@@ -18,9 +12,9 @@ val projectVersion: String by project // get from gradle.properties
|
||||
version = projectVersion
|
||||
|
||||
subprojects {
|
||||
apply<IndraPlugin>()
|
||||
apply<IndraCheckstylePlugin>()
|
||||
apply<IndraPublishingPlugin>()
|
||||
plugins.apply("net.kyori.indra")
|
||||
plugins.apply("net.kyori.indra.checkstyle")
|
||||
plugins.apply("net.kyori.indra.publishing")
|
||||
|
||||
if (projectVersion.endsWith("-SNAPSHOT")) {
|
||||
// Add git commit hash to version for platforms, but not for API
|
||||
|
||||
Reference in new issue
Block a user