Fork me on GitHub

Download JRuby/Gradle

Table of Contents

You can find historical versions of all the released plugins on Bintray, or use the code snippets below to incorporate the latest plugins into your own Gradle file.

Base plugin

build.gradle
buildscript {
    repositories { jcenter() }

    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-plugin:[1.1.2,1.2)"
    }
}
apply plugin: "com.github.jruby-gradle.base"

Jar plugin

build.gradle
buildscript {
    repositories { jcenter() }

    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-jar-plugin:[1.1.2,1.2)"
    }
}
apply plugin: "com.github.jruby-gradle.jar"

War plugin

build.gradle
buildscript {
    repositories { jcenter() }

    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-war-plugin:[1.1.2,1.2)-alpha"
    }
}
apply plugin: "com.github.jruby-gradle.war"

Storm plugin

build.gradle
buildscript {
    repositories { jcenter() }

    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-storm-plugin:[0.4.2,0.5)"
    }
}
apply plugin: "com.github.jruby-gradle.storm"

improve this page