OsmAnd/OsmAnd-java/build.gradle

37 lines
502 B
Groovy
Raw Permalink Normal View History

2014-12-16 12:23:45 +01:00
apply plugin: 'java'
2015-11-26 11:27:16 +01:00
apply plugin: 'application'
2016-03-10 18:31:02 +01:00
mainClassName = "net.osmand.util.GeoPointParserUtil"
2014-12-16 12:23:45 +01:00
2016-06-29 20:23:33 +02:00
tasks.withType(JavaCompile) {
sourceCompatibility = "1.7"
targetCompatibility = "1.7"
}
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
}
2016-06-29 20:23:33 +02:00