gradle: update to 2.1 and android targetSdk 21

- add android-appcompat subproject
This commit is contained in:
Hannes Janetzek
2014-10-24 21:38:47 +02:00
parent 0bc45dfd74
commit f4ffac44d2
27 changed files with 275 additions and 169 deletions

View File

@@ -15,12 +15,20 @@ sourceSets {
main.compileClasspath += configurations.providedCompile
}
//... there is probably a better way
eclipse.classpath {
plusConfigurations += configurations.providedCompile
//you can tweak the classpath of the Eclipse project by adding extra configurations:
plusConfigurations += [ configurations.providedCompile ]
file.whenMerged { classpath ->
classpath.entries.findAll { entry ->
entry.path.contains('annotations') }*.exported = false
}
//if you don't want some classpath entries 'exported' in Eclipse
noExportConfigurations += [ configurations.providedCompile ]
//default settings for downloading sources and Javadoc:
//downloadSources = true
//downloadJavadoc = false
}