Skip to content

Commit fea3e9c

Browse files
ci(gradle): Update Gradle 10 syntax
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent 564d9df commit fea3e9c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
repositories {
1313
google()
14-
maven { url 'https://plugins.gradle.org/m2/' }
14+
maven { url = 'https://plugins.gradle.org/m2/' }
1515
mavenCentral()
1616
}
1717
dependencies {
@@ -26,7 +26,7 @@ allprojects {
2626
repositories {
2727
google()
2828
mavenCentral()
29-
maven { url 'https://plugins.gradle.org/m2/' }
29+
maven { url = 'https://plugins.gradle.org/m2/' }
3030
}
3131
}
3232

lib/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import com.github.spotbugs.snom.SpotBugsTask
1212

1313
repositories {
1414
google()
15-
maven { url "https://jitpack.io" }
15+
maven { url = "https://jitpack.io" }
1616
mavenCentral()
17-
maven { url 'https://plugins.gradle.org/m2/' }
17+
maven { url = 'https://plugins.gradle.org/m2/' }
1818
}
1919

2020
apply plugin: 'com.android.library'
@@ -35,7 +35,7 @@ configurations {
3535
}
3636

3737
android {
38-
namespace 'com.nextcloud.android.sso'
38+
namespace = 'com.nextcloud.android.sso'
3939
compileSdk 35
4040

4141
defaultConfig {
@@ -45,7 +45,7 @@ android {
4545
}
4646

4747
buildFeatures {
48-
aidl true
48+
aidl = true
4949
}
5050

5151
buildTypes {
@@ -56,7 +56,7 @@ android {
5656
}
5757

5858
compileOptions {
59-
coreLibraryDesugaringEnabled true
59+
coreLibraryDesugaringEnabled = true
6060
sourceCompatibility JavaVersion.VERSION_17
6161
targetCompatibility JavaVersion.VERSION_17
6262
}
@@ -71,10 +71,10 @@ android {
7171
productFlavors {}
7272

7373
lint {
74-
abortOnError false
74+
abortOnError = false
7575
disable 'MissingTranslation', 'ExtraTranslation', 'MissingQuantity', 'InconsistentArrays', 'TypographyEllipsis', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities'
76-
htmlOutput file("$project.layout.buildDirectory/reports/lint/lint.html")
77-
htmlReport true
76+
htmlOutput = file("$project.layout.buildDirectory/reports/lint/lint.html")
77+
htmlReport = true
7878
}
7979
}
8080

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
apply plugin: 'com.android.application'
99

1010
android {
11-
namespace 'com.nextcloud.android.sso.sample'
11+
namespace = 'com.nextcloud.android.sso.sample'
1212
compileSdk 35
1313

1414
defaultConfig {
@@ -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
}

0 commit comments

Comments
 (0)