File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 3232configure(subprojects) {
3333 apply (plugin = " idea" )
3434 apply (plugin = " java" )
35- apply (plugin = " pmd" )
3635
3736 idea {
3837 module {
@@ -41,6 +40,10 @@ configure(subprojects) {
4140 }
4241}
4342
43+ configure(subprojects - project(" :saros.picocontainer" )) {
44+ apply (plugin = " pmd" )
45+ }
46+
4447/*
4548 * Workaround: Applying the shadow plugin in picocontainer
4649 * leads to an error that says that "Project.afterEvaluate" cannot
@@ -69,10 +72,11 @@ configure(projectsToConfigure) {
6972 }
7073
7174 configurations {
72- val testing by creating // used to reference the testJar
73- val testConfig by creating // contains test dependencies that are used by all java subprojects
74- val releaseDep by creating // contains all dependencies which has to be included into the release jar/zip
75- releaseDep.isTransitive = true // avoid that the whole dependency tree is released
75+ create(" testing" ) // used to reference the testJar
76+ create(" testConfig" ) // contains test dependencies that are used by all java subprojects
77+ create(" releaseDep" ) { // contains all dependencies which has to be included into the release jar/zip
78+ isTransitive = false // avoid that the whole dependency tree is released
79+ }
7680 }
7781
7882 configure<PmdExtension > {
You can’t perform that action at this time.
0 commit comments