Skip to content

Commit 5dc980a

Browse files
committed
Fix some problems identified by the Gradle problems report
1 parent ae70a95 commit 5dc980a

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

app/build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
defaultConfig {
2020
applicationId "org.mozilla.reference.browser"
2121
minSdkVersion Config.minSdkVersion
22-
compileSdk Config.compileSdkVersion
22+
compileSdk = Config.compileSdkVersion
2323
targetSdkVersion Config.targetSdkVersion
2424
versionCode 1
2525
versionName Config.generateDebugVersionName()
@@ -43,8 +43,8 @@ android {
4343
}
4444

4545
buildFeatures {
46-
buildConfig true
47-
compose true
46+
buildConfig = true
47+
compose = true
4848
}
4949

5050
buildTypes {
@@ -68,12 +68,12 @@ android {
6868
}
6969

7070
testOptions {
71-
execution 'ANDROIDX_TEST_ORCHESTRATOR'
71+
execution = 'ANDROIDX_TEST_ORCHESTRATOR'
7272
animationsDisabled = true
7373
}
7474

7575
lintOptions {
76-
lintConfig file("lint.xml")
76+
lintConfig = file("lint.xml")
7777
baseline file("lint-baseline.xml")
7878
disable 'GradleDependency', 'AndroidGradlePluginVersion'
7979
}
@@ -84,15 +84,15 @@ android {
8484

8585
splits {
8686
abi {
87-
enable true
87+
enable = true
8888

8989
reset()
9090

9191
include "x86", "armeabi-v7a", "arm64-v8a", "x86_64"
9292
}
9393
}
9494

95-
namespace 'org.mozilla.reference.browser'
95+
namespace = 'org.mozilla.reference.browser'
9696
}
9797

9898
kotlin {

build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ allprojects {
4747
}
4848

4949
maven {
50-
name "Mozilla Nightly"
51-
url "https://nightly.maven.mozilla.org/maven2"
50+
name = "Mozilla Nightly"
51+
url = "https://nightly.maven.mozilla.org/maven2"
5252

5353
content {
5454
// Always fetch components from the snapshots repository
@@ -57,8 +57,8 @@ allprojects {
5757
}
5858

5959
maven {
60-
name "Mozilla"
61-
url "https://maven.mozilla.org/maven2"
60+
name = "Mozilla"
61+
url = "https://maven.mozilla.org/maven2"
6262

6363
content {
6464
// Never fetch components from here. We always want to use snapshots.
@@ -99,8 +99,8 @@ subprojects {
9999
}
100100

101101
lintOptions {
102-
warningsAsErrors true
103-
abortOnError true
102+
warningsAsErrors = true
103+
abortOnError = true
104104
}
105105
}
106106

0 commit comments

Comments
 (0)