revert accidental build.gradle changes

This commit is contained in:
sonora 2015-01-26 12:30:23 +01:00
parent 0363cf5aae
commit 6e3adb1a95

View file

@ -150,15 +150,16 @@ android {
qtcore { qtcore {
flavorDimension "coreversion" flavorDimension "coreversion"
} }
qtcoredebug {
flavorDimension "coreversion"
}
} }
buildTypes { buildTypes {
debug { debug {
signingConfig signingConfigs.development signingConfig signingConfigs.development
} }
nativeDebug {
signingConfig signingConfigs.development
}
release { release {
signingConfig signingConfigs.publishing signingConfig signingConfigs.publishing
} }
@ -183,6 +184,10 @@ def replaceNoTranslate(line) {
} }
task updateNoTranslate(type: Copy) { task updateNoTranslate(type: Copy) {
inputs.property 'appName', System.getenv().get("APP_NAME")
inputs.property 'appEdition', System.getenv().get("APP_EDITION")
inputs.property 'appFeatures', System.getenv().get("APP_FEATURES")
inputs.property 'apkVersion', System.getenv().get("APK_VERSION")
from('.') { from('.') {
include 'no_translate.xml' include 'no_translate.xml'
filter { filter {
@ -298,7 +303,7 @@ tasks.withType(JavaCompile) {
repositories { repositories {
ivy { ivy {
name = "OsmAndBinariesIvy" name = "OsmAndBinariesIvy"
url = "http://builder.osmand.net:81" url = "http://builder.osmand.net"
layout "pattern" , { layout "pattern" , {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
} }
@ -309,8 +314,9 @@ 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'
qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar" legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
//nativeDebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar" qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug:0.1-SNAPSHOT@aar"
//releaseCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar" qtcoredebugCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar" // not a debug ?
qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease:0.1-SNAPSHOT@aar"
qtcoreCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"
} }