Combined all subproject build.gradles into master

This commit is contained in:
Bruce Eckel 2016-08-10 10:36:16 -06:00
parent abf72d0710
commit 79279957dc
12 changed files with 71 additions and 42 deletions

View File

@ -221,6 +221,75 @@ subprojects {
task run(dependsOn: createdTasks)
}
project(':verifying') {
dependencies {
compile 'junit:junit:4.12'
}
}
project(':understandingcollections') {
dependencies {
compile project(':typeinfo')
compile project(':collections')
}
jmh {
include = 'understandingcollections.jmhtests.*'
}
}
project(':threads') {
dependencies {
compile project(':enums')
}
}
project(':strings') {
dependencies {
compile project(':generics')
}
}
project(':serialization') {
configurations.all {
resolutionStrategy {
force 'xml-apis:xml-apis:1.0.b2'
}
}
dependencies {
compile 'com.io7m.xom:xom:1.2.10'
}
}
project(':references') {
dependencies {
compile 'junit:junit:4.12'
}
}
project(':interfaces') {
dependencies {
compile project(':polymorphism')
}
}
project(':hiding') {
dependencies {
compile project(':com')
}
}
project(':generics') {
dependencies {
compile project(':typeinfo')
}
}
project(':collections') {
dependencies {
compile project(':typeinfo')
}
}
configure(subprojects - project(':onjava')) {
dependencies {
compile project(':onjava')

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':typeinfo')
}

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':typeinfo')
}

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':com')
}

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':polymorphism')
}

View File

@ -1,3 +0,0 @@
dependencies {
compile 'junit:junit:4.12'
}

View File

@ -1,9 +0,0 @@
configurations.all {
resolutionStrategy {
force 'xml-apis:xml-apis:1.0.b2'
}
}
dependencies {
compile 'com.io7m.xom:xom:1.2.10'
}

View File

@ -4,7 +4,8 @@ def isSubproject = { File file ->
!file.name.contains('.gradle') &&
!file.name.contains('.idea') &&
!file.name.contains('build') &&
!file.name.contains('gradle')
!file.name.contains('gradle') &&
!file.name.contains('test')
}
String[] subprojects = rootDir.listFiles().findAll(isSubproject).collect { it.name }

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':generics')
}

View File

@ -1,3 +0,0 @@
dependencies {
compile project(':enums')
}

View File

@ -1,8 +0,0 @@
dependencies {
compile project(':typeinfo')
compile project(':collections')
}
jmh {
include = 'understandingcollections.jmhtests.*'
}

View File

@ -1,3 +0,0 @@
dependencies {
compile 'junit:junit:4.12'
}