16 březen 2013

I've setup Gaelyk Continuous Integration Server on CloudBees few months ago so each time
the change is pushed to Gaelyk repository and the tests are passing then the new JARs are pushed to the snapshot repository currently hosted at
SonaType OSS. If you like living on the edge and using the latest features you can
use these in your application.

Updating Gradle build is pretty easy. Only thing you need to do is to declare
SonaType snapshot repository in repositories configuration closure

Repositories configuration

repositories {
    ...
    mavenRepo url: 'https://oss.sonatype.org/content/repositories/snapshots/'
}

and change the version of your Gaelyk dependency to the snapshot version, 2.0-SNAPSHOT at the time of writing.

Dependencies configuration

dependencies {
    ...
    compile 'org.gaelyk:gaelyk:2.0-SNAPSHOT'
}

EDIT
By default Gradle caches the snapshot versions.
To disable caching for all snapshot versions add following to your build.gradle file:

Disable snapshot versions caching

configurations.all {
    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}

If you haven't adopted Gradle for Gaelyk development, you can download latest snapshots from
Sonatype OSS Snapshot Repository. Be sure you are using
the same Groovy
and GAE SDK version as listed in common build configuration.

Here you go, you're now using the latest version of Gaelyk available.