diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 9667620..1b49940 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -21,8 +21,8 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - namespace "com.capacitorjs.plugins.filetransfer" - compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36 + namespace = "com.capacitorjs.plugins.filetransfer" + compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36 defaultConfig { minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24 targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36 @@ -37,7 +37,7 @@ android { } } lintOptions { - abortOnError false + abortOnError = false } compileOptions { sourceCompatibility JavaVersion.VERSION_21 diff --git a/packages/example-app/android/app/build.gradle b/packages/example-app/android/app/build.gradle index 19a14a1..0586c5f 100644 --- a/packages/example-app/android/app/build.gradle +++ b/packages/example-app/android/app/build.gradle @@ -1,8 +1,8 @@ apply plugin: 'com.android.application' android { - namespace "com.capacitorjs.exampleapp.plugins.filetransfer" - compileSdk rootProject.ext.compileSdkVersion + namespace = "com.capacitorjs.exampleapp.plugins.filetransfer" + compileSdk = rootProject.ext.compileSdkVersion defaultConfig { applicationId "com.capacitorjs.exampleapp.plugins.filetransfer" minSdkVersion rootProject.ext.minSdkVersion @@ -13,7 +13,7 @@ android { aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. // Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61 - ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~' + ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~' } } buildTypes {