Skip to content

Commit

Permalink
namespace (#466)
Browse files Browse the repository at this point in the history
* Update build.gradle

moved namespace to defaultConfig

* Update build.gradle

compile sdk update
  • Loading branch information
sam-kym committed Nov 7, 2023
1 parent f4e7b4e commit c33b083
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -40,14 +40,15 @@ android {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
minSdkVersion 22
if (project.android.hasProperty('namespace')) {
namespace 'io.github.ponnamkarthik.toast.fluttertoast'
}
}
lintOptions {
disable 'InvalidPackage'
}
if (project.android.hasProperty('namespace')) {
namespace 'io.github.ponnamkarthik.toast.fluttertoast'
}

}

dependencies {
Expand Down

0 comments on commit c33b083

Please sign in to comment.