gradle: fix vtm-android install + generate source jars

This commit is contained in:
Hannes Janetzek
2014-11-20 00:27:48 +01:00
parent 77f383913d
commit aaec15a66a
5 changed files with 47 additions and 11 deletions
+8
View File
@@ -15,6 +15,14 @@ sourceSets {
main.compileClasspath += configurations.providedCompile
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
eclipse.classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
plusConfigurations += [ configurations.providedCompile ]