Skip to content

Commit 6b52e72

Browse files
committed
fix(android): use 'propName = value' assignment syntax in build.gradle files
1 parent 1eeb609 commit 6b52e72

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/capacitor-plugin/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ apply plugin: 'com.android.library'
2121
apply plugin: 'kotlin-android'
2222

2323
android {
24-
namespace "com.capacitorjs.plugins.fileviewer"
25-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
24+
namespace = "com.capacitorjs.plugins.fileviewer"
25+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
2626
defaultConfig {
2727
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
2828
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
@@ -37,7 +37,7 @@ android {
3737
}
3838
}
3939
lintOptions {
40-
abortOnError false
40+
abortOnError = false
4141
}
4242
compileOptions {
4343
sourceCompatibility JavaVersion.VERSION_21

packages/example-app-capacitor/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
namespace "com.capacitorjs.exampleucapp.plugins.fileviewer"
5-
compileSdk rootProject.ext.compileSdkVersion
4+
namespace = "com.capacitorjs.exampleucapp.plugins.fileviewer"
5+
compileSdk = rootProject.ext.compileSdkVersion
66
defaultConfig {
77
applicationId "com.capacitorjs.exampleucapp.plugins.fileviewer"
88
minSdkVersion rootProject.ext.minSdkVersion

0 commit comments

Comments
 (0)