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:
jmp committed 2021-05-12 17:30:15 -07:00
1 parent 7479fdf1fc
commit 93a9194711
8 files changed
+48 -37

No files matched your search

+3 -9
View File
@@ -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