mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
gradle: Remove redundant, unused task
This commit is contained in:
parent
5e8338a6de
commit
50ddf1c11c
|
@ -29,14 +29,6 @@ def parseOpenXRVersion(def fn) {
|
|||
String.join('.', components)
|
||||
}
|
||||
|
||||
// For JSR250 used by Hilt
|
||||
task getCDDL {
|
||||
doLast {
|
||||
ant.invokeMethod("get", [src: "https://spdx.org/licenses/CDDL-1.0.txt", dest: "${} "])
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
project.ext.renameLicense = { String name ->
|
||||
def lowerNoExtension = name.toLowerCase().replace(".txt", "")
|
||||
def result = lowerNoExtension.replaceAll(~/[\-.]/, "_") + ".txt"
|
||||
|
@ -61,6 +53,7 @@ task copyLicenses(type: Copy) {
|
|||
}
|
||||
project.ext.licenseDir = new File(project.buildDir, 'intermediates/licenses/')
|
||||
|
||||
// For JSR250 used by Hilt
|
||||
task downloadCddl(type: Download) {
|
||||
src 'https://spdx.org/licenses/CDDL-1.0.txt'
|
||||
dest "${project.licenseDir}/CDDL-1.0.txt"
|
||||
|
|
Loading…
Reference in a new issue