Fix
This commit is contained in:
parent
30398fad48
commit
6d6d3631f3
5 changed files with 20 additions and 134 deletions
|
@ -1,107 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="EclipseModuleManager">
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/bsh-core-2.0b4.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/bzip2-20090327.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/commons-logging-1.1.1.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/json-20090211.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/junidecode-0.1.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/kxml2-2.3.0.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/tuprolog.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/icu4j-49_1.jar!/" />
|
|
||||||
<libelement value="jar://$MODULE_DIR$/libs/gnu-trove-osmand.jar!/" />
|
|
||||||
<src_description expected_position="0">
|
|
||||||
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
|
|
||||||
</src_description>
|
|
||||||
</component>
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
|
||||||
<output url="file://$MODULE_DIR$/bin" />
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="bsh-core-2.0b4.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/bsh-core-2.0b4.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="bzip2-20090327.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/bzip2-20090327.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="commons-logging-1.1.1.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/commons-logging-1.1.1.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="json-20090211.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/json-20090211.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="junidecode-0.1.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/junidecode-0.1.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="kxml2-2.3.0.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/kxml2-2.3.0.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="tuprolog.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/tuprolog.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="icu4j-49_1.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/icu4j-49_1.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library name="gnu-trove-osmand.jar">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/libs/gnu-trove-osmand.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -1,15 +1,20 @@
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
|
java {
|
||||||
|
srcDirs = [
|
||||||
|
"src"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This is Android-specific
|
||||||
jar {
|
jar {
|
||||||
sourceSets {
|
exclude "**/PlatformUtil.*"
|
||||||
main {
|
|
||||||
java {
|
|
||||||
srcDirs = ["src"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||||
}
|
}
|
||||||
|
|
23
OsmAnd/build.gradle
Executable file → Normal file
23
OsmAnd/build.gradle
Executable file → Normal file
|
@ -73,30 +73,18 @@ android {
|
||||||
jni.srcDirs = []
|
jni.srcDirs = []
|
||||||
jniLibs.srcDirs = ["libs"]
|
jniLibs.srcDirs = ["libs"]
|
||||||
aidl.srcDirs = ["src"]
|
aidl.srcDirs = ["src"]
|
||||||
java.srcDirs = [
|
java.srcDirs = ["src"]
|
||||||
"src",
|
resources.srcDirs = ["src"]
|
||||||
fileTree(dir: "../OsmAnd-java/src", exclude: "**/PlatformUtil.java")
|
|
||||||
]
|
|
||||||
resources.srcDirs = [
|
|
||||||
"src"
|
|
||||||
]
|
|
||||||
renderscript.srcDirs = ["src"]
|
renderscript.srcDirs = ["src"]
|
||||||
res.srcDirs = [
|
res.srcDirs = ["res"]
|
||||||
'res'
|
assets.srcDirs = ["assets"]
|
||||||
|
|
||||||
]
|
|
||||||
assets.srcDirs = [
|
|
||||||
'assets'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
free {
|
free {
|
||||||
manifest.srcFile "AndroidManifest-free.xml"
|
manifest.srcFile "AndroidManifest-free.xml"
|
||||||
}
|
}
|
||||||
|
|
||||||
legacy {
|
legacy {
|
||||||
jniLibs.srcDirs = [
|
jniLibs.srcDirs = ["libgnustl"]
|
||||||
"libgnustl"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -311,6 +299,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile project(":OsmAnd-java")
|
||||||
compile fileTree(
|
compile fileTree(
|
||||||
dir: "libs",
|
dir: "libs",
|
||||||
include: ["*.jar"],
|
include: ["*.jar"],
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
include ':OsmAnd'
|
include ':OsmAnd'
|
||||||
|
include ':OsmAnd-java'
|
||||||
|
|
Loading…
Reference in a new issue