Skip to content

Commit 413cd36

Browse files
committed
Fix a few Android warnings
1 parent 82066f4 commit 413cd36

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

flutter_web_auth_2/android/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
group 'com.linusu.flutter_web_auth_2'
2-
version '1.0-SNAPSHOT'
1+
group = 'com.linusu.flutter_web_auth_2'
2+
version = '1.0-SNAPSHOT'
33

44
buildscript {
55
ext.kotlin_version = '1.7.22'
@@ -25,15 +25,15 @@ apply plugin: 'com.android.library'
2525
apply plugin: 'kotlin-android'
2626

2727
android {
28-
compileSdk 35
28+
compileSdk = 36
2929

3030
if (project.android.hasProperty("namespace")) {
31-
namespace 'com.linusu.flutter_web_auth_2'
31+
namespace = 'com.linusu.flutter_web_auth_2'
3232
}
3333

3434
compileOptions {
35-
sourceCompatibility JavaVersion.VERSION_11
36-
targetCompatibility JavaVersion.VERSION_11
35+
sourceCompatibility = JavaVersion.VERSION_11
36+
targetCompatibility = JavaVersion.VERSION_11
3737
}
3838

3939
kotlinOptions {
@@ -45,7 +45,7 @@ android {
4545
}
4646

4747
defaultConfig {
48-
minSdk 21
48+
minSdk = 21
4949
}
5050

5151
dependencies {

flutter_web_auth_2/example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (flutterVersionName == null) {
2323
}
2424

2525
android {
26-
compileSdk 35
26+
compileSdk 36
2727
namespace 'com.linusu.flutter_web_auth_2_example'
2828

2929
compileOptions {
@@ -47,7 +47,7 @@ android {
4747
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4848
applicationId "com.linusu.flutter_web_auth_2_example"
4949
minSdk 21
50-
targetSdk 35
50+
targetSdk 36
5151
versionCode flutterVersionCode.toInteger()
5252
versionName flutterVersionName
5353
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

0 commit comments

Comments
 (0)