OsmAnd/OsmAnd-java/build.gradle

28 lines
328 B
Groovy
Raw Permalink Normal View History

2014-12-16 12:23:45 +01:00
apply plugin: 'java'
2015-02-02 16:54:43 +01:00
sourceSets {
main {
java {
2015-02-03 10:13:11 +01:00
srcDirs = ["src"]
2015-02-02 16:54:43 +01:00
}
}
}
2015-02-03 10:13:11 +01:00
configurations {
android
}
task androidJar(type: Jar) {
appendix = "android"
from sourceSets.main.output
exclude("**/PlatformUtil.*")
}
artifacts {
android androidJar
2014-12-16 12:23:45 +01:00
}
dependencies {
2015-02-02 16:54:43 +01:00
compile fileTree(dir: "libs", include: ["*.jar"])
2014-12-16 12:23:45 +01:00
}