Pārlūkot izejas kodu

Add included build to JAR

Instead of copying classes to the compile output, we now add them directly to the JAR.
This allows JavaCompile to be cached, since there are no overlapping outputs anymore.
Lóránt Pintér 7 gadi atpakaļ
vecāks
revīzija
f7beb537f0
1 mainītis faili ar 1 papildinājumiem un 6 dzēšanām
  1. 1 6
      core/spring-security-core.gradle

+ 1 - 6
core/spring-security-core.gradle

@@ -34,12 +34,7 @@ dependencies {
 	testRuntime 'org.hsqldb:hsqldb'
 }
 
-classes.doLast {
-	copy {
-		from includeProject.sourceSets.main.output
-		into sourceSets.main.java.outputDir
-	}
-}
+tasks.jar.from { includeProject.sourceSets.main.output }
 
 tasks.sourcesJar.from {includeProject.sourceSets.main.java}