Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Cleaned up dependencies by moving common ones to parent project
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyuri Grell committed Nov 13, 2017
1 parent 2a97899 commit c5ac634
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ buildscript {
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
}
}

Expand All @@ -18,6 +19,8 @@ subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'project-report'
apply plugin: 'com.github.ben-manes.versions'

targetCompatibility = '1.7'
sourceCompatibility = '1.7'
Expand All @@ -31,6 +34,11 @@ subprojects {
compile 'com.squareup.retrofit2:converter-jackson:2.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'org.apache.commons:commons-lang3:3.5'

testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'com.btmatthews.hamcrest:hamcrest-matchers:1.0.1'
}

ext {
Expand Down
9 changes: 0 additions & 9 deletions components/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
dependencies {
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.3'

testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'com.btmatthews.hamcrest:hamcrest-matchers:1.0.1'
}

archivesBaseName = 'java-components'

task sourceJar(type: Jar, dependsOn: classes) {
Expand Down
7 changes: 1 addition & 6 deletions sdk-rx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ dependencies {
compile project(':components')

compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
compile 'io.reactivex:rxjava:1.2.1'

testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'com.btmatthews.hamcrest:hamcrest-matchers:1.0.1'
compile 'io.reactivex:rxjava:1.3.0'
}

archivesBaseName = 'java-sdk-rx'
Expand Down
5 changes: 0 additions & 5 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
dependencies {
compile project(':components')

testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'com.btmatthews.hamcrest:hamcrest-matchers:1.0.1'
}

archivesBaseName = 'java-sdk'
Expand Down

0 comments on commit c5ac634

Please sign in to comment.