Skip to content

Commit

Permalink
updated: dependency relation via api in build.gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Dec 21, 2017
1 parent c1323cd commit fe5c16d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Expand Up @@ -39,7 +39,6 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"

implementation project(':easydeviceinfo')
Expand Down
7 changes: 5 additions & 2 deletions easydeviceinfo-ads/build.gradle
Expand Up @@ -49,8 +49,11 @@ dependencies {

implementation "com.google.android.gms:play-services-basement:$rootProject.ext.googlePlayServicesVersion"

// implementation "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"
implementation project(':easydeviceinfo-common')
// Including the sub-module as Jcenter dependency
// api "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"

// Including the sub-module as module dependency
api project(':easydeviceinfo-common')
}

// Bintray info
Expand Down
7 changes: 5 additions & 2 deletions easydeviceinfo-base/build.gradle
Expand Up @@ -54,8 +54,11 @@ dependencies {

implementation "com.android.support:support-annotations:$rootProject.ext.supportLibVersion"

// implementation "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"
implementation project(':easydeviceinfo-common')
// Including the sub-module as Jcenter dependency
// api "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"

// Including the sub-module as module dependency
api project(':easydeviceinfo-common')
}

// Bintray info
Expand Down
10 changes: 6 additions & 4 deletions easydeviceinfo/build.gradle
Expand Up @@ -57,11 +57,13 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'

// implementation "com.github.nisrulz:easydeviceinfo-ads:$rootProject.ext.easyDeviceInfoVersionName"
// implementation "com.github.nisrulz:easydeviceinfo-base:$rootProject.ext.easyDeviceInfoVersionName"
// Including the sub-modules as Jcenter dependency
// api "com.github.nisrulz:easydeviceinfo-ads:$rootProject.ext.easyDeviceInfoVersionName"
// api "com.github.nisrulz:easydeviceinfo-base:$rootProject.ext.easyDeviceInfoVersionName"

implementation project(':easydeviceinfo-ads')
implementation project(':easydeviceinfo-base')
// Including the sub-modules as module dependency
api project(':easydeviceinfo-ads')
api project(':easydeviceinfo-base')
}

// Bintray info
Expand Down

0 comments on commit fe5c16d

Please sign in to comment.