Use master for generating spec
This commit is contained in:
@@ -20,7 +20,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
gotifyVersion = '1.1.7'
|
gotifyVersion = 'master'
|
||||||
specLocation = "$buildDir/gotify.spec.json"
|
specLocation = "$buildDir/gotify.spec.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ task downloadSpec {
|
|||||||
inputs.property 'version', gotifyVersion
|
inputs.property 'version', gotifyVersion
|
||||||
doFirst {
|
doFirst {
|
||||||
buildDir.mkdirs()
|
buildDir.mkdirs()
|
||||||
download("https://raw.githubusercontent.com/gotify/server/v${gotifyVersion}/docs/spec.json", specLocation)
|
download("https://raw.githubusercontent.com/gotify/server/${gotifyVersion}/docs/spec.json", specLocation)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user