Skip to content
Snippets Groups Projects
Unverified Commit 6dfc703b authored by Juan Ignacio Ubeira's avatar Juan Ignacio Ubeira Committed by GitHub
Browse files

Merge pull request #15 from jubeira/gradle_3-5-1

Gradle update: 3.5.1
parents bdb24da5 11f4f665
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -15,7 +15,7 @@
*/
task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
gradleVersion = '3.5.1'
}
buildscript {
......@@ -67,26 +67,28 @@ jar {
}
}
task info << {
println "\nProject Info"
println "============\n"
println "Name : ${rootProject}"
println "Dir : ${projectDir}"
println "Group : ${group}"
println "Version : ${version}"
println "Configurations: " + configurations
task info {
doLast {
println "\nProject Info"
println "============\n"
println "Name : ${rootProject}"
println "Dir : ${projectDir}"
println "Group : ${group}"
println "Version : ${version}"
println "Configurations: " + configurations
println "\nPackage Info"
println "============\n"
println "Name : %(project_name)s"
println "Dir : %(pkg_directory)s"
println "\nPackage Info"
println "============\n"
println "Name : %(project_name)s"
println "Dir : %(pkg_directory)s"
println "\nGenerate Info"
println "============\n"
println "Output Dir : ${generated_sources_directory}"
println "Task Args : " + tasks["generateSources"].args
tasks["generateSources"].outputs.getFiles().getAsFileTree().each {
println "Files : ${it}"
println "\nGenerate Info"
println "============\n"
println "Output Dir : ${generated_sources_directory}"
println "Task Args : " + tasks["generateSources"].args
tasks["generateSources"].outputs.getFiles().getAsFileTree().each {
println "Files : ${it}"
}
}
}
......@@ -98,8 +100,10 @@ task info << {
* Until we get this properly fixed (it fails in genjava), then we use the following bugfix to deal with the
* 'Could not copy MANIFEST.MF...' error that occurs when no sources are to be made for an artifact.
*/
task bugfixtask << {
mkdir sourceSets.main.output.classesDir
task bugfixtask {
doLast {
mkdir sourceSets.main.output.classesDir
}
}
jar.dependsOn(bugfixtask)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment