Skip to content

Commit 4372986

Browse files
committed
Gradle Android plugin 3.3.2
Also force Guava version to 18.0.
1 parent 635545f commit 4372986

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

app/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,21 @@ dependencies {
150150

151151
testCompile 'junit:junit:4.12'
152152

153+
components.all {
154+
allVariants {
155+
withDependencies { deps ->
156+
deps.each { dep ->
157+
if (dep.group == 'com.google.guava' && dep.name =='guava') {
158+
dep.version {
159+
require "18.0"
160+
}
161+
dep.because 'We only work with 18.0'
162+
}
163+
}
164+
}
165+
}
166+
}
167+
153168
}
154169

155170
configurations.all {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.2.1'
11+
classpath 'com.android.tools.build:gradle:3.3.2'
1212
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
1313
classpath 'io.fabric.tools:gradle:1.25.4'
1414
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'

0 commit comments

Comments
 (0)