Skip to content

Commit

Permalink
Add AGP 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen authored Aug 30, 2023
1 parent 814a630 commit 5046346
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion 31

// For compatibility with AGP < 4.2
if (project.android.hasProperty("namespace")) {
namespace 'com.example.flutter_segment'
}

defaultConfig {
minSdkVersion 16
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

lintOptions {
disable 'InvalidPackage'
}
Expand All @@ -42,4 +48,4 @@ android {

dependencies {
testImplementation 'junit:junit:4.13.2'
}
}

0 comments on commit 5046346

Please sign in to comment.