Skip to content

Commit e0d3987

Browse files
committed
fix(android): use 'propName = value' assignment syntax in build.gradle files
1 parent 897819b commit e0d3987

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,8 +30,8 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.haptics"
34-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
33+
namespace = "com.capacitorjs.plugins.haptics"
34+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
3737
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

0 commit comments

Comments
 (0)