Skip to content

Commit

Permalink
Changed configuration order to resolve issues with gradle version 1.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
tHerrmann committed Feb 17, 2014
1 parent 6f9c216 commit 1c65f06
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,23 @@ if (project.hasProperty('external_directories')){
}

configurations {

distribution {
description = 'libraries included into the opencms distribution'
transitive = false
}

compile {
description = 'used to compile the opencms.jar and the modules jars'
transitive = false
extendsFrom distribution
}

modulesCompile {
description = 'used to compile the modules classes'
transitive = false
extendsFrom compile
}

testCompile{
transitive = false
Expand All @@ -62,12 +74,6 @@ configurations {
extendsFrom componentsCompile
}

modulesCompile {
description = 'used to compile the modules classes'
transitive = false
extendsFrom compile
}

gwtCompile {
description = 'needed to generate the GWT JavaScript resources'
transitive = false
Expand All @@ -78,11 +84,6 @@ configurations {
transitive = false
extendsFrom modulesCompile
}

distribution {
description = 'libraries included into the opencms distribution'
transitive = false
}
}

// import dependencies
Expand Down

0 comments on commit 1c65f06

Please sign in to comment.