Created
February 6, 2012 00:18
-
-
Save lukaspili/1748535 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
pluginVersions = [ | |
androidannotations: '0.3.0' | |
] | |
dependencies { | |
classpath 'net.ealden.gradle.plugins:gradle-androidannotations-plugin:' + pluginVersions.androidannotations | |
} | |
} | |
apply plugin: 'androidannotations' | |
apply plugin: 'idea' | |
clean { | |
delete 'gen' | |
} | |
processResources { | |
expand(project.properties) | |
} | |
task configureDebug << { | |
jar.classifier = "debug" | |
} | |
task configureRelease << { | |
proguard.enabled = true | |
} | |
androidProcessResources.dependsOn(clean) | |
def compatibilityVersion = 1.6 | |
sourceCompatibility = compatibilityVersion | |
targetCompatibility = compatibilityVersion | |
idea { | |
module { | |
downloadSources = true | |
downloadJavadoc = true | |
} | |
project { | |
languageLevel = compatibilityVersion | |
} | |
} | |
repositories { | |
mavenCentral() | |
maven { | |
url 'http://guice-maven.googlecode.com/svn/trunk' | |
} | |
} | |
versions = [ | |
commons_lang3: '3.1', | |
roboguice: '1.1.2', | |
joda_time: '2.0', | |
gson: '2.1', | |
androidannotations: '2.4' | |
] | |
libraries = [ | |
commons_lang3: 'org.apache.commons:commons-lang3:' + versions.commons_lang3, | |
roboguice: 'org.roboguice:roboguice:' + versions.roboguice, | |
joda_time: 'joda-time:joda-time:' + versions.joda_time, | |
gson: 'com.google.code.gson:gson:' + versions.gson, | |
] | |
dependencies { | |
compile libraries.commons_lang3 | |
compile libraries.roboguice | |
compile libraries.joda_time | |
compile libraries.gson | |
} | |
androidAnnotationsVersion = versions.androidannotations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment