Skip to content

Instantly share code, notes, and snippets.

@kizzx2
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kizzx2/9865731 to your computer and use it in GitHub Desktop.
Save kizzx2/9865731 to your computer and use it in GitHub Desktop.
apply plugin: 'java'
repositories {
mavenCentral()
}
configurations {
apt
}
dependencies {
apt 'org.androidannotations:androidannotations:3.0.1'
compile 'org.androidannotations:androidannotations-api:3.0.1'
compile 'com.google.guava:guava:16.0.1'
}
task aptLibs(type: Copy) {
from configurations.apt
into 'compile-libs'
}
task runtimeLibs(type: Copy) {
from configurations.runtime
into 'libs'
}
task libs(dependsOn: ['aptLibs', 'runtimeLibs'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment