diff --git a/build.gradle b/build.gradle index 5b6097b7..b457434a 100644 --- a/build.gradle +++ b/build.gradle @@ -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') diff --git a/collections/build.gradle b/collections/build.gradle deleted file mode 100644 index 6b3f49b5..00000000 --- a/collections/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':typeinfo') -} diff --git a/generics/build.gradle b/generics/build.gradle deleted file mode 100644 index 6b3f49b5..00000000 --- a/generics/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':typeinfo') -} diff --git a/hiding/build.gradle b/hiding/build.gradle deleted file mode 100644 index f1b2e23a..00000000 --- a/hiding/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':com') -} diff --git a/interfaces/build.gradle b/interfaces/build.gradle deleted file mode 100644 index 2730e045..00000000 --- a/interfaces/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':polymorphism') -} diff --git a/references/build.gradle b/references/build.gradle deleted file mode 100644 index 7b6876d6..00000000 --- a/references/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile 'junit:junit:4.12' -} diff --git a/serialization/build.gradle b/serialization/build.gradle deleted file mode 100644 index 042afca5..00000000 --- a/serialization/build.gradle +++ /dev/null @@ -1,9 +0,0 @@ -configurations.all { - resolutionStrategy { - force 'xml-apis:xml-apis:1.0.b2' - } -} - -dependencies { - compile 'com.io7m.xom:xom:1.2.10' -} diff --git a/settings.gradle b/settings.gradle index 247e4452..376ca105 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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 } diff --git a/strings/build.gradle b/strings/build.gradle deleted file mode 100644 index 40df7aba..00000000 --- a/strings/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':generics') -} diff --git a/threads/build.gradle b/threads/build.gradle deleted file mode 100644 index da12aa0a..00000000 --- a/threads/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile project(':enums') -} diff --git a/understandingcollections/build.gradle b/understandingcollections/build.gradle deleted file mode 100644 index 1db84bc1..00000000 --- a/understandingcollections/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - compile project(':typeinfo') - compile project(':collections') -} - -jmh { - include = 'understandingcollections.jmhtests.*' -} diff --git a/verifying/build.gradle b/verifying/build.gradle deleted file mode 100644 index 7b6876d6..00000000 --- a/verifying/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compile 'junit:junit:4.12' -}