JitPack for Groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

JitPack for Groovy

Daniel Sun
Hi all,

     I have created a demo project to show how to try Groovy in a Java
project via JitPack. Here is the link to the project repository:
https://github.com/danielsun1106/try-jitpack

     The key parts of build.gradle is shown as follows:
```
repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

dependencies {
    compile 'com.github.apache:groovy:master-SNAPSHOT' // See
https://jitpack.io/#apache/groovy
}

//  ensure Gradle always picks up the ‘freshest’ version of the build
configurations.all {
    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'  
}
```

      I hope JitPack can help more groovy users try the latest version of
Groovy easily and give us feedback as soon as possible.

Cheers,
Daniel.Sun



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html