Replace deprecated Gradle functions
This commit is contained in:
@@ -87,7 +87,7 @@ dependencies {
|
||||
}
|
||||
|
||||
configurations {
|
||||
all {
|
||||
configureEach {
|
||||
exclude group: 'org.json', module: 'json'
|
||||
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
|
||||
}
|
||||
|
||||
@@ -26,12 +26,12 @@ ext {
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url "https://jitpack.io/" }
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
tasks.register('clean', Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
@@ -45,7 +45,8 @@ static def download(String url, String filename ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
task downloadSpec {
|
||||
|
||||
tasks.register('downloadSpec') {
|
||||
inputs.property 'version', gotifyVersion
|
||||
doFirst {
|
||||
buildDir.mkdirs()
|
||||
|
||||
Reference in New Issue
Block a user