Fix build by moving jar task disable to correct place.

This commit is contained in:
Logan Gorence
2021-12-21 17:22:32 +00:00
parent f941dc9206
commit 3377060736

View File

@ -4,6 +4,9 @@ plugins {
id("com.github.johnrengelman.shadow") version "7.1.1" apply false id("com.github.johnrengelman.shadow") version "7.1.1" apply false
} }
// Disable the JAR task for the root project.
tasks["jar"].enabled = false
allprojects { allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
@ -40,8 +43,6 @@ subprojects {
targetCompatibility = javaVersion targetCompatibility = javaVersion
} }
tasks["jar"].enabled = false
tasks.processResources { tasks.processResources {
val props = mapOf("version" to version) val props = mapOf("version" to version)
inputs.properties(props) inputs.properties(props)