Commit 71979434 authored by Mygod's avatar Mygod

Revert "Fix ABI versions"

This reverts commit ad522572.
parent ad522572
...@@ -51,14 +51,6 @@ android { ...@@ -51,14 +51,6 @@ android {
sourceSets.main.jniLibs.srcDirs += new File(project(':core').projectDir, "src/overture/bin") sourceSets.main.jniLibs.srcDirs += new File(project(':core').projectDir, "src/overture/bin")
} }
ext.abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, 'x86': 3]
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def offset = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (offset != null) output.versionCodeOverride = variant.versionCode * 1000 + offset
}
}
dependencies { dependencies {
implementation project(':core') implementation project(':core')
implementation "com.android.support:customtabs:$supportLibraryVersion" implementation "com.android.support:customtabs:$supportLibraryVersion"
...@@ -90,3 +82,10 @@ repositories { ...@@ -90,3 +82,10 @@ repositories {
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'
ext.abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, x86: 3]
if (getCurrentFlavor() == 'release') android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def offset = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (offset != null) output.versionCodeOverride = variant.versionCode + offset
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment