File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,19 @@ import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
3131import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApisExtension
3232import org.gradle.api.tasks.testing.logging.TestExceptionFormat
3333
34+ buildscript {
35+ dependencies {
36+ constraints {
37+ " classpath" (" org.ow2.asm:asm:${property(" asm.version" )} " )
38+ " classpath" (" org.ow2.asm:asm-all:${property(" asm.version" )} " )
39+ " classpath" (" org.ow2.asm:asm-analysis:${property(" asm.version" )} " )
40+ " classpath" (" org.ow2.asm:asm-commons:${property(" asm.version" )} " )
41+ " classpath" (" org.ow2.asm:asm-tree:${property(" asm.version" )} " )
42+ " classpath" (" org.ow2.asm:asm-util:${property(" asm.version" )} " )
43+ }
44+ }
45+ }
46+
3447plugins {
3548 publishing
3649 // Verification
@@ -345,16 +358,6 @@ allprojects {
345358 // By default spotbugs verifies TEST classes as well, and we do not want that
346359 this .sourceSets = listOf (sourceSets[" main" ])
347360 }
348- dependencies {
349- constraints {
350- " spotbugs" (" org.ow2.asm:asm:${" asm" .v} " )
351- " spotbugs" (" org.ow2.asm:asm-all:${" asm" .v} " )
352- " spotbugs" (" org.ow2.asm:asm-analysis:${" asm" .v} " )
353- " spotbugs" (" org.ow2.asm:asm-commons:${" asm" .v} " )
354- " spotbugs" (" org.ow2.asm:asm-tree:${" asm" .v} " )
355- " spotbugs" (" org.ow2.asm:asm-util:${" asm" .v} " )
356- }
357- }
358361 }
359362
360363 configure<CheckForbiddenApisExtension > {
You can’t perform that action at this time.
0 commit comments