Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions android/capacitor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
Expand All @@ -41,8 +41,8 @@ if (System.getenv("CAP_PUBLISH") == "true") {
}

android {
namespace "com.getcapacitor.android"
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
namespace = "com.getcapacitor.android"
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
Expand All @@ -59,9 +59,9 @@ android {
}
lintOptions {
baseline file("lint-baseline.xml")
abortOnError true
warningsAsErrors true
lintConfig file('lint.xml')
abortOnError = true
warningsAsErrors = true
lintConfig = file('lint.xml')
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_21
Expand Down