26 lines
513 B
Groovy
26 lines
513 B
Groovy
buildscript {
|
|
repositories { jcenter() }
|
|
dependencies {
|
|
// Needed to define JRubyExec tasks
|
|
classpath 'com.github.jruby-gradle:jruby-gradle-plugin:0.1.5+'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.github.jruby-gradle.base'
|
|
|
|
import com.github.jrubygradle.JRubyExec
|
|
|
|
dependencies {
|
|
jrubyExec 'rubygems:colorize:0.7.3+'
|
|
jrubyExec 'rubygems:flickr.rb:1.2.1+'
|
|
jrubyExec 'rubygems:pry:0.10.1+'
|
|
}
|
|
|
|
|
|
task ticker(type: JRubyExec) {
|
|
standardInput System.in
|
|
script 'bt.rb'
|
|
}
|
|
|
|
// vim: ft=groovy
|