Merge branch 'master' of https://github.com/osmandapp/Osmand
This commit is contained in:
commit
0a88fec005
3 changed files with 15 additions and 8 deletions
|
@ -3,16 +3,23 @@ apply plugin: 'java'
|
|||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs = [
|
||||
"src"
|
||||
]
|
||||
srcDirs = ["src"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This is Android-specific
|
||||
jar {
|
||||
exclude "**/PlatformUtil.*"
|
||||
configurations {
|
||||
android
|
||||
}
|
||||
|
||||
task androidJar(type: Jar) {
|
||||
appendix = "android"
|
||||
from sourceSets.main.output
|
||||
exclude("**/PlatformUtil.*")
|
||||
}
|
||||
|
||||
artifacts {
|
||||
android androidJar
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -299,7 +299,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":OsmAnd-java")
|
||||
compile project(path: ":OsmAnd-java", configuration: "android")
|
||||
compile fileTree(
|
||||
dir: "libs",
|
||||
include: ["*.jar"],
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
include ':OsmAnd'
|
||||
include ':OsmAnd-java'
|
||||
include ':OsmAnd'
|
||||
|
|
Loading…
Reference in a new issue