view app/build.gradle @ 32:759c61d72006 default tip

fix makefile for xml docs
author Carl Byington <carl@five-ten-sg.com>
date Sun, 28 Apr 2019 17:20:53 -0700
parents 0bc0b4798d9e
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 = 28
    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"
        }
    }

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

}