view app/build.gradle @ 457:105815cce146 stable-1.9.3-3

minimum version android 5, target and compile version api 28
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Jan 2019 11:21:57 -0800
parents b00031b2d6ac
children a3239022798d
line wrap: on
line source


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 = 28
    buildTypes {
        release {
            minifyEnabled = false
            signingConfig = android.signingConfigs.release
            ndk {
                debuggable = false
                abiFilters 'armeabi-v7a'
            }
        }
        debug {
            debuggable = true
            ndk {
                debuggable = true
                abiFilters 'armeabi-v7a'
            }
        }
    }
    flavorDimensions "arch"
    productFlavors {
        arm {
            dimension "arch"
        }
        x86 {
            dimension "arch"
        }
    }
    sourceSets {
        main {
            jni {
                srcDir "Exec"
            }
        }
    }

    defaultConfig {
        applicationId = "com.five_ten_sg.connectbot"
        minSdkVersion = 21
        targetSdkVersion = 28
        ndk {
            moduleName = "com_google_ase_Exec"
            abiFilters 'armeabi-v7a'
        }
    }

    externalNativeBuild {
        ndkBuild {
            path "src/main/jni/Android.mk"
        }
    }

}