remove unused import in favor of fqn
This commit is contained in:
parent
f8c59a7b75
commit
fdaab1c27e
|
@ -1,5 +1,3 @@
|
||||||
import com.android.build.OutputFile
|
|
||||||
|
|
||||||
// Top-level build file where you can add configuration options common to all
|
// Top-level build file where you can add configuration options common to all
|
||||||
// sub-projects/modules.
|
// sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
|
@ -277,7 +275,7 @@ android {
|
||||||
|
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
variant.outputs.each { output ->
|
variant.outputs.each { output ->
|
||||||
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
|
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
|
||||||
if (baseAbiVersionCode != null) {
|
if (baseAbiVersionCode != null) {
|
||||||
output.versionCodeOverride = (100 * variant.versionCode) + baseAbiVersionCode
|
output.versionCodeOverride = (100 * variant.versionCode) + baseAbiVersionCode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue