GradleのREPLプラグイン紹介 #jggug

download GradleのREPLプラグイン紹介 #jggug

of 17

  • date post

    27-Aug-2014
  • Category

    Software

  • view

    1.221
  • download

    0

Embed Size (px)

description

JGGUG 2014/06/20 LT

Transcript of GradleのREPLプラグイン紹介 #jggug

  • Make Gradle Useful @kyon_mm 2014/06/20 JGGUG G* Workshop
  • Self Introduction @kyon_mm 26 Groovy, F#, C#, Scala SCMBC, Nagoya.Testing, TDDBC Test Architecture in Nagoya @IT TDD/BDD
  • Gradle Script is Dynamic Typed Script
  • Question
  • Gradle Gradle
  • Gradle is very nice. Modern Build tool.
  • But
  • My dissatisfaction on Gradle
  • My dissatisfaction on Gradle Code Completion by IDE is very few. Plugins are scattered. Not support running on JDK8. Not have REPL.
  • My dissatisfaction on Gradle Code Completion by IDE is very few. Plugins are scattered. Not support running on JDK8. Not have REPL. Gradle 2.x
  • Today
  • Gradle REPL with Code Completion
  • DEMO
  • Today Introduce Gradle Groovysh plugin -> Gradle REPL Groc -> Generate HTML from JavaDoc with Markdown
  • Gradle groovysh plugin apply plugin: 'groovysh' ! buildscript { repositories { jcenter() } dependencies { classpath 'com.tkruse.gradle:gradle-groovysh-plugin:0.4.0' } } groovysh { groovyVersion = '2.3.3' } Please o daemon, parallel gradle -q buildDevShell
  • Groc git clone https://github.com/kyonmm/Groc.git ! cp Groc/groc.groovy targetProjectDirectory cd targetProjectDirectory groovy groc.groovy -e gradle # groovy groc.groovy -e groovy ! open docs/xxxx.html