[ https://issues.apache.org/jira/browse/BEAM-3249?focusedWorklogId=81231&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-81231 ]
ASF GitHub Bot logged work on BEAM-3249: ---------------------------------------- Author: ASF GitHub Bot Created on: 16/Mar/18 17:15 Start Date: 16/Mar/18 17:15 Worklog Time Spent: 10m Work Description: lukecwik commented on a change in pull request #4812: [BEAM-3249] Publish java artifacts using gradle URL: https://github.com/apache/beam/pull/4812#discussion_r175158437 ########## File path: sdks/java/maven-archetypes/examples/build.gradle ########## @@ -17,10 +17,59 @@ */ apply from: project(":").file("build_rules.gradle") -applyJavaNature() +applyJavaNature(artifactId: "beam-sdks-java-maven-archetypes-examples") description = "Apache Beam :: SDKs :: Java :: Maven Archetypes :: Examples" +// Extract the version from a library:version dependency. +def ver = { moduleName -> Review comment: Note that defining really short names like `ver` can lead to naming conflicts since ver becomes `global` within this project. I might be better to just invoke the one liner `dependencies.create(moduleName).getVersion()` as needed directly. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 81231) Time Spent: 6h 20m (was: 6h 10m) > Use Gradle to build/release project > ----------------------------------- > > Key: BEAM-3249 > URL: https://issues.apache.org/jira/browse/BEAM-3249 > Project: Beam > Issue Type: Improvement > Components: build-system, testing > Reporter: Luke Cwik > Assignee: Luke Cwik > Priority: Major > Time Spent: 6h 20m > Remaining Estimate: 0h > > I have collected data by running several builds against master using Gradle > and Maven without using Gradle's support for incremental builds. > Gradle (mins) > min: 25.04 > max: 160.14 > median: 45.78 > average: 52.19 > stdev: 30.80 > Maven (mins) > min: 56.86 > max: 216.55 > median: 87.93 > average: 109.10 > stdev: 48.01 > I excluded a few timeouts (240 mins) that happened during the Maven build > from its numbers but we can see conclusively that Gradle is about twice as > fast for the build when compared to Maven when run using Jenkins. > Original dev@ thread: > https://lists.apache.org/thread.html/225dddcfc78f39bbb296a0d2bbef1caf37e17677c7e5573f0b6fe253@%3Cdev.beam.apache.org%3E > The data is available here > https://docs.google.com/spreadsheets/d/1MHVjF-xoI49_NJqEQakUgnNIQ7Qbjzu8Y1q_h3dbF1M/edit?usp=sharing -- This message was sent by Atlassian JIRA (v7.6.3#76005)