Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Groovy Shell with Gradle
Search
grimrose
August 20, 2014
Programming
5.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Groovy Shell with Gradle
http://jjug.doorkeeper.jp/events/13764
JJUG ナイト・セミナー 「ビール片手にLT&納涼会」
grimrose
August 20, 2014
More Decks by grimrose
See All by grimrose
だいたい10分くらいで 知った気になれる Vert.x 3.0 #渋谷Java / Shibuya.java #11
grimrose
0
1.9k
Syobochim should read book of modeling #syoboben
grimrose
0
1.9k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
6.1k
I wanna tell you about "Groovy Template"
grimrose
3
5.4k
Shibuya.Java #07
grimrose
0
890
Ambiguous Groups #sqlap
grimrose
0
940
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
300
Shibuya.Java #04
grimrose
1
660
I made out Gradle plug-in
grimrose
0
960
Other Decks in Programming
See All in Programming
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
210
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
300
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
140
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
17
8.8k
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
840
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
2
820
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
770
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
410
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
240
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.7k
Vite+ Unified Toolchain for the Web
naokihaba
0
730
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
220
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Optimizing for Happiness
mojombo
378
71k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
290
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
340
YesSQL, Process and Tooling at Scale
rocio
174
15k
sira's awesome portfolio website redesign presentation
elsirapls
0
300
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
640
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
490
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Designing Experiences People Love
moore
143
24k
Transcript
GradleではじめるGroovy @grimrose 2014-08-22 JJUG ナイト・セミナー 「ビール片手にLT&納涼会」
あなた誰? • twitter: ‘@grimrose’ • 好きな言語: Groovy • 好きなIDE: IntelliJ
IDEA
ちょっと宣伝 #yokohamagroovy #mattarigrails
Gradleって何? • 次世代ビルドツール • 現在 version 2.0 ◦ 2014-07-01 リリース
◦ リリースは約6~8週間毎 ◦ 2014-08-19 2.1-rc-1 リリース • 主にJava、Groovyで実装 ◦ Java8対応 ◦ Groovy: 2.3.x
師曰く 「世界で一番イケてる ビルドツール」
Gradleのインストール Groovy enVironment Manager
GVMのインストール $ curl -s get.gvmtool.net | bash
posh-gvm Windows環境でのGroovy/Grails開発を 幸せにする!?GVMクローンposh-gvmを 使ってみる http://qiita. com/_y_u_/items/7a4ffd6b79c829c99 62f
Gradleのインストール $ gvm i gradle
Gradle Wrapper ソースコードと一緒に管理
Gradle入門 qiita. com/vvakame/items/83366f bfa47562fafbf4
Gradle入門 • WEB+DB PRESS vol.76 ◦ Groovyの使い方 ◦ Gradleのセットアップ ◦
Webアプリケーションでの使 い方
Groovy入門 プログラミングGROOVY
Groovy groovy-lang.org
言語を学ぶ ちょっと試しながら
言語を学ぶ REPL
Read Eval Print Loop REPL欲しいですよね?
Java REPL albertlatacz/java-repl
Java REPL $ java -jar javarepl.jar
Groovy REPL Groovy Shell
Groovy Shell groovy-lang.org/groovysh.html
Groovy Shell Groovyのインストール
Groovyのインストール $ gvm i groovy
Groovy Shell $ groovysh
Gradle Wrapper Gradle: インストール不要
Gradle Groovy: インストール不要
本題 Gradle Wrapper を使って Groovy Shell を呼ぶ
Gradle Groovysh Plugin tkruse/gradle-groovysh-plugin
build.gradle buildscript { repositories { jcenter() } dependencies { classpath
'com.tkruse.gradle:gradle-groovysh-plugin:1.0.0' } } apply plugin: 'com.github.tkruse.groovysh' apply plugin: 'java'
build.gradle (2.1〜) plugins { id 'com.github.tkruse.groovysh' version '1.0.0' } apply
plugin: 'java'
注意点 • プロジェクトをロックしてしまう。 ◦ 使用中は、IntelliJ IDEA等でGradleプロ ジェクトの更新が出来ない。 • -q オプションを使う
◦ Gradleのログが出力されて使いづらい • --no-daemon オプションを使う ◦ Gradleをdaemonで動かしてる人は注意。
起動 $ ./gradlew -q shell
終了 • Ctrl + c • :exit ◦ :x •
:quit ◦ :q
最後に宣伝 #jggug
最後に宣伝 #yokohamagroovy #mattarigrails
最後に ご清聴ありがとうございました。