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

@@ -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()