Gws 20120521 gradle

  • View
    2.032

  • Download
    7

Embed Size (px)

Transcript

  • 1. Gradle 2012.05.21 (@nobusue) http://www.jggug.org/

2. Twitter: @nobusue http://www.facebook.com/profile.php?id=732337788 10JavaEE G*(Groovy) Groovy(JGGUG) GROOVY Groovy GroovyBot(@hatena_groovy)2 3. Java(Java EE) src -> compile -> test -> package Windows / MacOS / Linux / Unix IDE / CI / Test / Staging / Production JavaJVM 3 4. MakeGradleXMLAnt Maven4 5. http://gradle.org/ Ant/Maven AntMaven2012/5/21 HibernateSpringSource 1.0-rc-3 Maven MavenJAR Groovy DSL Groovy5 6. Gradle Maven Ant Make6 7. Gradle()apply plugin: java Javarepositories {mavenCentral() Maven}dependencies {compile(group: commons-collections,name: commons-collections,version: 3.2)testCompile(group: junit,name: junit,version: 4.+)}7 8. OKgradle test Maven 8 9. Demo9 10. Gradle DSL build.gradleapply repositoriesdependencies Groovy applyrepositoriesdependencies () GradleGroovyDSL http://monochromeroad.com/artifacts/gradl e/userguide/writing_build_scripts.html#N11 36010 11. task "OsDependTask" task "task${counter}"