Replace deprecated Gradle functions

This commit is contained in:
Niko Diamadis
2023-11-11 23:13:52 +01:00
parent 0d423c1ce4
commit 83ef432456
2 changed files with 5 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ dependencies {
} }
configurations { configurations {
all { configureEach {
exclude group: 'org.json', module: 'json' exclude group: 'org.json', module: 'json'
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx' exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
} }

View File

@@ -26,12 +26,12 @@ ext {
allprojects { allprojects {
repositories { repositories {
google() google()
jcenter() mavenCentral()
maven { url "https://jitpack.io/" } maven { url "https://jitpack.io/" }
} }
} }
task clean(type: Delete) { tasks.register('clean', Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }
@@ -45,7 +45,8 @@ static def download(String url, String filename ) {
} }
} }
} }
task downloadSpec {
tasks.register('downloadSpec') {
inputs.property 'version', gotifyVersion inputs.property 'version', gotifyVersion
doFirst { doFirst {
buildDir.mkdirs() buildDir.mkdirs()