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
No known key found for this signature in database
GPG Key ID: 9743CEF10935949A

View File

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