[ https://issues.apache.org/jira/browse/BEAM-3249?focusedWorklogId=80354&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-80354 ]
ASF GitHub Bot logged work on BEAM-3249: ---------------------------------------- Author: ASF GitHub Bot Created on: 14/Mar/18 15:03 Start Date: 14/Mar/18 15:03 Worklog Time Spent: 10m Work Description: alanmyrvold commented on a change in pull request #4812: [BEAM-3249] Publish java artifacts using gradle URL: https://github.com/apache/beam/pull/4812#discussion_r174490956 ########## File path: build_rules.gradle ########## @@ -322,6 +334,19 @@ ext.applyJavaNature = { artifacts.archives shadowJar if (configuration.artifactId) { + task sourcesJar(type: Jar) { + from 'src/main' + classifier = 'sources' + } + task testSourcesJar(type: Jar) { + from 'src/test' Review comment: Done ---------------------------------------------------------------- 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: 80354) Time Spent: 5h 10m (was: 5h) > 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: 5h 10m > 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)