Skip to content

Commit

Permalink
Add support for both AGP v8 and older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
daohoangson committed May 9, 2023
1 parent 9b22e9d commit 3fab174
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
// add support for both AGP v8 and older versions
// https://github.com/flutter/flutter/issues/125621#issuecomment-1525995461
if (project.android.hasProperty("namespace")) {
namespace 'com.arjanaswal.stockfish'
}

compileSdkVersion 29

defaultConfig {
Expand Down

0 comments on commit 3fab174

Please sign in to comment.