Skip to content

Commit b4adc16

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

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/capacitor-plugin/android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
mavenCentral()
1313
}
1414
dependencies {
15-
classpath 'com.android.tools.build:gradle:8.7.1'
15+
classpath 'com.android.tools.build:gradle:8.13.0'
1616
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1717
}
1818
}
@@ -21,8 +21,8 @@ apply plugin: 'com.android.library'
2121
apply plugin: 'kotlin-android'
2222

2323
android {
24-
namespace "com.capacitorjs.plugins.filesystem"
25-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
24+
namespace = "com.capacitorjs.plugins.filesystem"
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,7 +1,7 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
namespace "com.capacitorjs.exampleucapp.plugins.geolocation"
4+
namespace = "com.capacitorjs.exampleucapp.plugins.geolocation"
55
compileSdk rootProject.ext.compileSdkVersion
66
defaultConfig {
77
applicationId "com.capacitorjs.exampleucapp.plugins.geolocation"
@@ -13,7 +13,7 @@ android {
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
1515
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
16-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
16+
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
1717
}
1818
}
1919
buildTypes {

0 commit comments

Comments
 (0)