Skip to content
Snippets Groups Projects
Commit 803c4ed4 authored by dgelessus's avatar dgelessus
Browse files

Replace use of deprecated task << operator in build.gradle

parent c0e7ebd7
No related branches found
No related tags found
No related merge requests found
...@@ -33,14 +33,12 @@ javadoc { ...@@ -33,14 +33,12 @@ javadoc {
failOnError = false failOnError = false
} }
task tlatools(dependsOn: build) << { task tlatools(type: Copy, dependsOn: build) {
copy {
from('build/libs/') from('build/libs/')
into('build/tlatools') into('build/tlatools')
include('tlatools-' + project.version + '.jar') include('tlatools-' + project.version + '.jar')
rename('tlatools-(.+)', 'tlatools.jar') rename('tlatools-(.+)', 'tlatools.jar')
} }
}
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
println "Configuring deployment for ${ project.name }" println "Configuring deployment for ${ project.name }"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment