view app/build.gradle @ 506:b8cc360e1550 stable-1.9.4-5

allow multiple screen watch areas
author Carl Byington <carl@five-ten-sg.com>
date Wed, 16 Nov 2022 12:05:29 -0700
parents 7e53f29f8b5a
children
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 = 31
    ndkVersion '24.0.8215888'

    buildTypes {
        release {
            minifyEnabled = false
            signingConfig = android.signingConfigs.release
            ndk {
                debuggable = false
                abiFilters 'armeabi-v7a', 'arm64-v8a'
            }
        }
        debug {
            debuggable = true
            initWith debug
            jniDebuggable true
            externalNativeBuild {
                ndkBuild {
                    cFlags "-DDEBUG=1"
                }
            }
            ndk {
                debuggable = true
                abiFilters 'armeabi-v7a', 'arm64-v8a'
            }
        }
    }
    flavorDimensions "arch"
    productFlavors {
        arm {
            dimension "arch"
        }
        x86 {
            dimension "arch"
        }
    }
    sourceSets {
        main {
            jni {
                srcDir "Exec"
            }
        }
    }

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

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

    dependencies {
        implementation 'com.android.support:support-v4:23.+'
        // update the 23.0.0 to latest version available
    }
}