Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSavenko committed Jun 27, 2024
1 parent 1a4797a commit cf4f1aa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions android/vcmi-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,20 @@ android {
}
}

ext.abiCodes = ['armeabi-v7a':1, 'arm64-v8a':2]

import com.android.build.OutputFile

android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))

if (baseAbiVersionCode != null) {
output.versionCodeOverride = variant.versionCode * 10 + baseAbiVersionCode;
}
}
}

def CommandOutput(final cmd, final arguments, final cwd) {
try {
new ByteArrayOutputStream().withStream { final os ->
Expand Down

0 comments on commit cf4f1aa

Please sign in to comment.