Skip to content

Commit

Permalink
Update support libraries to 26.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
NightlyNexus committed Jul 24, 2017
1 parent 6a9af30 commit 4e69b22
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
'minSdk': 19,
'targetSdk': 25,

'supportLibrary': '26.0.0-beta2',
'supportLibrary': '26.0.0',
'dagger': '1.2.5',
'okhttp': '3.8.1',
'retrofit': '2.3.0',
Expand Down Expand Up @@ -91,7 +91,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha7'
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.2'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.10'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.11'
}
}

Expand All @@ -106,7 +106,9 @@ subprojects {
resolutionStrategy {
eachDependency { details ->
// Force all of the primary support libraries to use the same version.
if (details.requested.group == 'com.android.support') {
if (details.requested.group == 'com.android.support'
&& details.requested.name != 'multidex'
&& details.requested.name != 'multidex-instrumentation') {
details.useVersion versions.supportLibrary
}
// Force all the error-prone dependencies to use the same version.
Expand Down

0 comments on commit 4e69b22

Please sign in to comment.