Skip to content

Commit 666db95

Browse files
committed
Stripped unneeded deps from Android gradle. Reduced apk size.
1 parent aaeab59 commit 666db95

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

android/build.gradle

Lines changed: 4 additions & 5 deletions
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.0.1'
11+
classpath 'com.android.tools.build:gradle:3.1.3'
1212
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
1313
}
1414
}
@@ -39,7 +39,7 @@ android {
3939
dependencies {
4040
// Required for local unit tests (JUnit 4 framework)
4141
testImplementation 'junit:junit:4.12'
42-
implementation 'com.android.support:support-v4:27.1.0'
42+
implementation 'com.android.support:support-compat:27.1.1'
4343
//compile files('/home/paul/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar')
4444
}
4545
sourceSets {
@@ -55,7 +55,7 @@ protobuf {
5555
// Configure the protoc executable
5656
protoc {
5757
// Download from repositories
58-
artifact = 'com.google.protobuf:protoc:3.0.0'
58+
artifact = 'com.google.protobuf:protoc:3.6.1'
5959
}
6060
plugins {
6161
javalite {
@@ -73,6 +73,5 @@ protobuf {
7373
}
7474

7575
dependencies {
76-
implementation 'com.google.protobuf:protobuf-lite:3.0.0'
77-
implementation group: 'com.google.guava', name: 'guava', version: '22.0-android'
76+
implementation 'com.google.protobuf:protobuf-lite:3.0.1'
7877
}

0 commit comments

Comments
 (0)