Skip to content

Commit e374af9

Browse files
authored
Merge pull request #223 from jordansilva/master
Update Android SDK to 27 and Gradle to 3.2.1
2 parents 3e18cec + 844dc5b commit e374af9

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

android/build.gradle

Lines changed: 2 additions & 3 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.1.2'
11+
classpath 'com.android.tools.build:gradle:3.2.1'
1212
}
1313
}
1414

@@ -21,8 +21,7 @@ allprojects {
2121
apply plugin: 'com.android.library'
2222

2323
android {
24-
compileSdkVersion 25
25-
buildToolsVersion '27.0.3'
24+
compileSdkVersion 27
2625

2726
defaultConfig {
2827
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

example/android/app/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1616

1717
android {
1818
compileSdkVersion 27
19-
buildToolsVersion '27.0.3'
2019

2120
lintOptions {
2221
disable 'InvalidPackage'
2322
}
2423

2524
defaultConfig {
2625
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
27-
2826
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2927
applicationId "com.yourcompany.flutter_webview_plugin_example"
3028
}
@@ -43,7 +41,7 @@ flutter {
4341
}
4442

4543
dependencies {
46-
androidTestCompile 'com.android.support:support-annotations:25.0.0'
47-
androidTestCompile 'com.android.support.test:runner:0.5'
48-
androidTestCompile 'com.android.support.test:rules:0.5'
44+
androidTestImplementation 'com.android.support:support-annotations:27.0.0'
45+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
46+
androidTestImplementation 'com.android.support.test:rules:1.0.2'
4947
}

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
android:versionCode="1"
44
android:versionName="0.0.1">
55

6-
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
7-
86
<!-- The INTERNET permission is required for development. Specifically,
97
flutter needs it to communicate with the running application
108
to allow setting breakpoints, to provide hot reload, etc.

example/android/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.1.1'
11+
classpath 'com.android.tools.build:gradle:3.2.1'
1212
}
1313
}
1414

0 commit comments

Comments
 (0)