Latest build for JRebel

JRebel welcomes Groovy fraternity with Gradle plugin

Chris Mayer
JRebel

The Groovy community finally gets preliminary JRebel with Gradle plugin

JAX Innovation Award winners JRebel have recognised the
growing number of those developers opting for Groovy and after
hearing requests for JRebel with Gradle, the ZeroTurnaround team
willingly obliged.

If you’ve somehow missed the astronomic rise of the innovative
plugin, JRebel allows developers to instantly view code changes,
eliminating the need for redeployment. When a change is made
to any class or resource in the developer’s IDE, the change is
immediately reflected in the deployed application, skipping the
build and redeploy phases.

Project Lead Anton Arpihov revealed the initial Gradle beta on
the
team’s blog
. For the time being things are fairly simple but
with huge potential for growth. He noted that for it to work, you
need to generate an rebel.xml map like with the Maven plug-in. The
Gradle plugin is available through
ZeroTurnaround repository
 but you need to follow the two
step below as well.

STEP 1 – Automatically regenerate rebel.xml after each
build

apply plugin: 'rebel'

buildscript {
  repositories {
     mavenLocal()
     mavenCentral()
     mavenRepo(name: 'zt-public-snapshots',
               url: 'http://repos.zeroturnaround.com/nexus/content/groups/zt-public/')
  }

  dependencies {
     classpath group: 'org.zeroturnaround', name: 'gradle-jr-plugin', version: '1.0.0-SNAPSHOT'
  }
}

STEP 2 – Further configuration

 

apply plugin: 'rebel'

buildscript {
  repositories {
     mavenLocal()
     mavenCentral()
     mavenRepo(name: 'zt-public-snapshots',
               url: 'http://repos.zeroturnaround.com/nexus/content/groups/zt-public/')
  }

  dependencies {
     classpath group: 'org.zeroturnaround', name: 'gradle-jr-plugin', version: '1.0.0-SNAPSHOT'
  }
}

The team have welcomed user feedback to make improvements in the
future so head to their forum to tell them your
thoughts.

Author
Comments
comments powered by Disqus