Replace deprecated Gradle functions
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user