Fix deprecation warnings
This commit is contained in:
parent
28e74c83f8
commit
3f9359c031
@ -95,9 +95,9 @@ ext.createComponentZipTasks = { components, names, base, type, project, func ->
|
|||||||
configMap.each { key, value ->
|
configMap.each { key, value ->
|
||||||
def task = project.tasks.create(base + "-${key}", type) {
|
def task = project.tasks.create(base + "-${key}", type) {
|
||||||
description = 'Creates component archive for platform ' + key
|
description = 'Creates component archive for platform ' + key
|
||||||
destinationDir = outputsFolder
|
destinationDirectory = outputsFolder
|
||||||
classifier = key
|
classifier = key
|
||||||
baseName = '_M_' + base
|
archiveBaseName = '_M_' + base
|
||||||
duplicatesStrategy = 'exclude'
|
duplicatesStrategy = 'exclude'
|
||||||
|
|
||||||
from(licenseFile) {
|
from(licenseFile) {
|
||||||
@ -123,9 +123,9 @@ ext.createAllCombined = { list, name, base, type, project ->
|
|||||||
|
|
||||||
def task = project.tasks.create(base + "-all", type) {
|
def task = project.tasks.create(base + "-all", type) {
|
||||||
description = "Creates component archive for all classifiers"
|
description = "Creates component archive for all classifiers"
|
||||||
destinationDir = outputsFolder
|
destinationDirectory = outputsFolder
|
||||||
classifier = "all"
|
classifier = "all"
|
||||||
baseName = base
|
archiveBaseName = base
|
||||||
duplicatesStrategy = 'exclude'
|
duplicatesStrategy = 'exclude'
|
||||||
|
|
||||||
list.each {
|
list.each {
|
||||||
|
Loading…
Reference in New Issue
Block a user