mirror of
				https://github.com/GayPizzaSpecifications/foundation.git
				synced 2025-11-04 11:39:39 +00:00 
			
		
		
		
	Fix build by moving jar task disable to correct place.
This commit is contained in:
		@ -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)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user