Skip to content

Commit af55279

Browse files
committed
chore(android): use 'propName = value' assignment syntax in build.gradle files
1 parent 70902b6 commit af55279

File tree

19 files changed

+57
-57
lines changed

19 files changed

+57
-57
lines changed

action-sheet/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
google()
1313
mavenCentral()
1414
maven {
15-
url "https://plugins.gradle.org/m2/"
15+
url = "https://plugins.gradle.org/m2/"
1616
}
1717
}
1818
dependencies {
@@ -31,7 +31,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3131
}
3232

3333
android {
34-
namespace "com.capacitorjs.plugins.actionsheet"
34+
namespace = "com.capacitorjs.plugins.actionsheet"
3535
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3636
defaultConfig {
3737
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -47,7 +47,7 @@ android {
4747
}
4848
}
4949
lintOptions {
50-
abortOnError false
50+
abortOnError = false
5151
}
5252
compileOptions {
5353
sourceCompatibility JavaVersion.VERSION_21

app-launcher/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.applauncher"
33+
namespace = "com.capacitorjs.plugins.applauncher"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

app/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.app"
33+
namespace = "com.capacitorjs.plugins.app"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

browser/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
google()
1313
mavenCentral()
1414
maven {
15-
url "https://plugins.gradle.org/m2/"
15+
url = "https://plugins.gradle.org/m2/"
1616
}
1717
}
1818
dependencies {
@@ -31,7 +31,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3131
}
3232

3333
android {
34-
namespace "com.capacitorjs.plugins.browser"
34+
namespace = "com.capacitorjs.plugins.browser"
3535
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3636
defaultConfig {
3737
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -47,7 +47,7 @@ android {
4747
}
4848
}
4949
lintOptions {
50-
abortOnError false
50+
abortOnError = false
5151
}
5252
compileOptions {
5353
sourceCompatibility JavaVersion.VERSION_21

camera/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
google()
1414
mavenCentral()
1515
maven {
16-
url "https://plugins.gradle.org/m2/"
16+
url = "https://plugins.gradle.org/m2/"
1717
}
1818
}
1919
dependencies {
@@ -32,7 +32,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3232
}
3333

3434
android {
35-
namespace "com.capacitorjs.plugins.camera"
35+
namespace = "com.capacitorjs.plugins.camera"
3636
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3737
defaultConfig {
3838
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -48,7 +48,7 @@ android {
4848
}
4949
}
5050
lintOptions {
51-
abortOnError false
51+
abortOnError = false
5252
}
5353
compileOptions {
5454
sourceCompatibility JavaVersion.VERSION_21

clipboard/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.clipboard"
33+
namespace = "com.capacitorjs.plugins.clipboard"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

device/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.device"
33+
namespace = "com.capacitorjs.plugins.device"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

dialog/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.dialog"
33+
namespace = "com.capacitorjs.plugins.dialog"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

local-notifications/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.localnotifications"
33+
namespace = "com.capacitorjs.plugins.localnotifications"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

network/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
google()
1212
mavenCentral()
1313
maven {
14-
url "https://plugins.gradle.org/m2/"
14+
url = "https://plugins.gradle.org/m2/"
1515
}
1616
}
1717
dependencies {
@@ -30,7 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
3030
}
3131

3232
android {
33-
namespace "com.capacitorjs.plugins.network"
33+
namespace = "com.capacitorjs.plugins.network"
3434
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
3535
defaultConfig {
3636
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
lintOptions {
49-
abortOnError false
49+
abortOnError = false
5050
}
5151
compileOptions {
5252
sourceCompatibility JavaVersion.VERSION_21

0 commit comments

Comments
 (0)