Skip to content

Commit b68ac9e

Browse files
authored
fix(android): replace deprecated Gradle property name syntax
1 parent ba05dd3 commit b68ac9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

android/capacitor/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818
google()
1919
mavenCentral()
2020
maven {
21-
url "https://plugins.gradle.org/m2/"
21+
url = "https://plugins.gradle.org/m2/"
2222
}
2323
}
2424
dependencies {
@@ -41,8 +41,8 @@ if (System.getenv("CAP_PUBLISH") == "true") {
4141
}
4242

4343
android {
44-
namespace "com.getcapacitor.android"
45-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
44+
namespace = "com.getcapacitor.android"
45+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
4646
defaultConfig {
4747
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
4848
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
@@ -59,9 +59,9 @@ android {
5959
}
6060
lintOptions {
6161
baseline file("lint-baseline.xml")
62-
abortOnError true
63-
warningsAsErrors true
64-
lintConfig file('lint.xml')
62+
abortOnError = true
63+
warningsAsErrors = true
64+
lintConfig = file('lint.xml')
6565
}
6666
compileOptions {
6767
sourceCompatibility JavaVersion.VERSION_21

0 commit comments

Comments
 (0)