-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
zippy1978 edited this page Oct 17, 2014
·
3 revisions
The first step is to enable Groovy support and add the library to your build.gradle file.
Here is how to do:
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
// Groovy plugin
classpath 'me.champeau.gradle:gradle-groovy-android-plugin:0.3.0'
...
}
}
apply plugin: 'com.android.application'
android {
...
}
apply plugin: 'me.champeau.gradle.groovy-android'
repositories {
jcenter()
// fastsnail repository
maven {
url 'http://repo.grousset.fr/snapshots'
}
}
...
dependencies {
// Groovy version
compile 'org.codehaus.groovy:groovy:2.4.0-beta-3:grooid'
// fastsnail
compile('fr.grousset.fastsnail:fastsnail:0.1-SNAPSHOT') {
exclude group: 'org.codehaus.groovy'
}
...
}