Reply to comment
Gradle talk - Java Camp #3, 10 April 2010 - slides and source code
Submitted by Tomek Kaczanowski on Mon, 04/12/2010 - 19:24If you are interested in slides (in polish) and source code of
Gradle presentation that I gave during Java Camp #3 (10 April 2010,
Cracow, Poland) you will find them here.
Please notice the source code attached at the end of this text.
Slides
You can download slides here: http://kaczanowscy.pl/tomek/sites/default/files/2010_04_java_camp_gradle...
Missing Points
I forgot (or had no time) to show some features of Gradle.
Generation of Maven POMs
Gradle can generate Maven poms and artifacts. The presentation that you can download contains an additional slide that shows how to do it. You should also check the source code section below (see "webapp" module).
Configuration is EASY
The second thing I missed is an example of how easy and straightforward is to jump out of the default configuration and change things to your liking.
Source Code
Few words about the sources. Each folder contains a separate build. Below I put some information on what commands to execute in each of them (usually the same stuff that I did during the presentation).
Important - please notice that for some projects there are also other build files (apart from the standard build.gradle) which presents some additional stuff. To run them use -b, for example ("webapp"):
gradle -b build_maven.gradle -t - will show all tasks in this build file
gradle -b build_maven.gradle install - will execute install task from this build fileant
gradle -v
gradle -?
gradle -r
gradle -t
gradle hello
gradle myTaskbasic_task
gradle
gradle -t
gradle -m third
gradle third
gradle third -x second
gradle --guidependencies
gradle -n
gradle uploadArchives
gradle clean
gradle zipAllmultimodule
gradle build
gradle clean eclipse
gradle ui:swing:run
gradle -n ui:swing
gradle ui:web:build
gradle -a ui:web:build
gradle ui:web:buildNeeded
gradle core:build
gradle core:buildDependentown_task
gradle generateReportwebapp
gradle build
gradle war
gradle clean
gradle war -i
gradle clean -i| Attachment | Size |
|---|---|
| 2010_04_java_camp_gradle.zip | 20.3 KB |

Recent comments
4 days 6 hours ago
4 days 9 hours ago
1 week 3 days ago
2 weeks 5 days ago
3 weeks 5 days ago
3 weeks 5 days ago
4 weeks 1 day ago
4 weeks 2 days ago
4 weeks 2 days ago
6 weeks 5 days ago