Reformat gradle
This commit is contained in:
parent
03fa1df95e
commit
270439582e
1 changed files with 247 additions and 241 deletions
16
OsmAnd/build.gradle
Normal file → Executable file
16
OsmAnd/build.gradle
Normal file → Executable file
|
@ -8,7 +8,6 @@ apply plugin: 'com.android.application'
|
||||||
// APP_EDITION - date stamp of builds
|
// APP_EDITION - date stamp of builds
|
||||||
// APP_FEATURES - features +play_market +gps_status -parking_plugin -blackberry -free_version -amazon
|
// APP_FEATURES - features +play_market +gps_status -parking_plugin -blackberry -free_version -amazon
|
||||||
|
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// 1. Filter fonts
|
// 1. Filter fonts
|
||||||
// <unzip src="OsmAndCore_android.aar" dest=".">
|
// <unzip src="OsmAndCore_android.aar" dest=".">
|
||||||
|
@ -23,7 +22,6 @@ apply plugin: 'com.android.application'
|
||||||
// 4. Release signature
|
// 4. Release signature
|
||||||
// 5. TARGET_APP_NAME, APP_EDITION uses flavor
|
// 5. TARGET_APP_NAME, APP_EDITION uses flavor
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 21
|
||||||
buildToolsVersion "21.1.2"
|
buildToolsVersion "21.1.2"
|
||||||
|
@ -273,6 +271,7 @@ tasks.whenTaskAdded { task ->
|
||||||
|
|
||||||
// Legacy core build
|
// Legacy core build
|
||||||
import org.apache.tools.ant.taskdefs.condition.Os
|
import org.apache.tools.ant.taskdefs.condition.Os
|
||||||
|
|
||||||
task buildOsmAndCore(type: Exec) {
|
task buildOsmAndCore(type: Exec) {
|
||||||
description "Build Legacy OsmAndCore"
|
description "Build Legacy OsmAndCore"
|
||||||
|
|
||||||
|
@ -312,12 +311,19 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: "libs", include: ["*.jar"], exclude: ["QtAndroid-bundled.jar", "QtAndroidAccessibility-bundled.jar", "android-support*.jar", "OsmAndCore_android.jar",
|
compile fileTree(
|
||||||
|
dir: "libs",
|
||||||
|
include: ["*.jar"],
|
||||||
|
exclude: [
|
||||||
|
"QtAndroid-bundled.jar",
|
||||||
|
"QtAndroidAccessibility-bundled.jar",
|
||||||
|
"android-support*.jar",
|
||||||
|
"OsmAndCore_android.jar",
|
||||||
"OsmAndCore_wrapper.jar"])
|
"OsmAndCore_wrapper.jar"])
|
||||||
compile 'com.android.support:appcompat-v7:21.0.3'
|
compile "com.android.support:appcompat-v7:21.0.3"
|
||||||
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
|
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
|
||||||
qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar"
|
qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar"
|
||||||
qtcoredebugCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" // not a debug ?
|
qtcoredebugCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"
|
||||||
qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar"
|
qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar"
|
||||||
qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"
|
qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue