OsmAnd/OsmAnd-java/build.gradle

30 lines
409 B
Groovy
Raw Normal View History

2014-12-16 12:23:45 +01:00
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "net.osmand.util.GeoPointParserUtil"
2014-12-16 12:23:45 +01:00
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
}