Skip to content

Commit

Permalink
Migrate to androidX and changing to compileSdkVersion 28 to fix a pro…
Browse files Browse the repository at this point in the history
…blem not compiling after Flutter upgrade to 1.12.

flutter/flutter#27226
  • Loading branch information
paulosousadias committed Dec 16, 2019
1 parent 2b6b37f commit 20e6e94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 27
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner "androidx.support.test.runner.AndroidJUnitRunner"
}
lintOptions {
disable 'InvalidPackage'
Expand Down
3 changes: 3 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: multicast_lock
description: A new flutter plugin project.
version: 0.0.5
version: 0.0.6
author: Stanislav Humplík <[email protected]>
homepage: https://github.com/analogic/multicast_lock

Expand Down

0 comments on commit 20e6e94

Please sign in to comment.