Skip to content

Commit 10d31da

Browse files
fix(gradle): Fix Gradle 10 deprecations
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 3569e39 commit 10d31da

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ apply plugin: 'org.jetbrains.kotlin.android'
1212

1313
android {
1414
compileSdk 35
15-
namespace 'it.niedermann.owncloud.notes'
15+
namespace = 'it.niedermann.owncloud.notes'
1616

1717
defaultConfig {
1818
applicationId "it.niedermann.owncloud.notes"
@@ -29,7 +29,7 @@ android {
2929
}
3030

3131
compileOptions {
32-
coreLibraryDesugaringEnabled true
32+
coreLibraryDesugaringEnabled = true
3333
sourceCompatibility JavaVersion.VERSION_17
3434
targetCompatibility JavaVersion.VERSION_17
3535
}
@@ -39,13 +39,13 @@ android {
3939
}
4040

4141
buildFeatures {
42-
viewBinding true
43-
buildConfig true
42+
viewBinding = true
43+
buildConfig = true
4444
}
4545

4646
buildTypes {
4747
debug {
48-
testCoverageEnabled true
48+
testCoverageEnabled = true
4949
}
5050

5151
release {
@@ -73,17 +73,17 @@ android {
7373

7474
testOptions {
7575
unitTests {
76-
includeAndroidResources true
76+
includeAndroidResources = true
7777
}
7878
}
7979

8080
lintOptions {
81-
abortOnError false
81+
abortOnError = false
8282
disable 'MissingTranslation'
8383
}
8484

8585
androidResources {
86-
generateLocaleConfig true
86+
generateLocaleConfig = true
8787
}
8888

8989
packagingOptions {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ allprojects {
3434
repositories {
3535
mavenCentral()
3636
google()
37-
maven { url "https://jitpack.io" }
37+
maven { url = "https://jitpack.io" }
3838
}
3939

4040
}

0 commit comments

Comments
 (0)