diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 4da4902..e03bdf8 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -22,8 +22,8 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - namespace "com.capacitorjs.plugins.geolocation" - compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36 + namespace = "com.capacitorjs.plugins.geolocation" + 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 @@ -38,7 +38,7 @@ android { } } lintOptions { - abortOnError false + abortOnError = false } compileOptions { sourceCompatibility JavaVersion.VERSION_21 diff --git a/packages/example-app-capacitor/android/app/build.gradle b/packages/example-app-capacitor/android/app/build.gradle index 0066dd2..ec3640d 100644 --- a/packages/example-app-capacitor/android/app/build.gradle +++ b/packages/example-app-capacitor/android/app/build.gradle @@ -1,8 +1,8 @@ apply plugin: 'com.android.application' android { - namespace "com.capacitorjs.exampleucapp.plugins.geolocation" - compileSdk rootProject.ext.compileSdkVersion + namespace = "com.capacitorjs.exampleucapp.plugins.geolocation" + compileSdk = rootProject.ext.compileSdkVersion defaultConfig { applicationId "com.capacitorjs.exampleucapp.plugins.geolocation" 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 {