Mercurial > 510ConnectbotMonitor
view app/build.gradle @ 29:e6784ab8964c
starting update to latest toolchain
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 08 Nov 2018 11:54:22 -0800 |
parents | 807f7e4eaebe |
children | 0bc0b4798d9e |
line wrap: on
line source
task copyDebugLibTask(type: Copy) { from 'build/intermediates/binaries/debug/arm/lib/armeabi' into 'src/main/jniLibs/armeabi' } task copyReleaseLibTask(type: Copy) { from 'build/intermediates/binaries/release/arm/lib/armeabi' into 'src/main/jniLibs/armeabi' } tasks.whenTaskAdded { task -> if (task.name.contains("merge") && task.name.contains("JniLibFolders")) { if (task.name.contains("ArmDebug")) { task.dependsOn copyDebugLibTask } if (task.name.contains("ArmRelease")) { task.dependsOn copyReleaseLibTask } } } apply plugin: 'com.android.application' android { signingConfigs { release { print "\nNo Console\n" def read = System.in.newReader().&readLine print "\nkey store password" storePassword = read() print "\nkey alias password" keyPassword = read() print "\nDone\n" storeFile = file("../510Connectbot.keystore") storeType = "jks" keyAlias = "510Connectbot" } } compileSdkVersion = 16 buildTypes { release { minifyEnabled = false signingConfig = signingConfigs.release } debug { debuggable = true } } flavorDimensions "arch" productFlavors { arm { dimension "arch" } x86 { dimension "arch" } } defaultConfig { applicationId = "com.five_ten_sg.connectbot" minSdkVersion = 8 targetSdkVersion = 15 } }