apply plugin: 'com.android.application'

android {
    signingConfigs {
        config {
            keyAlias 'myngdroidapp'
            keyPassword 'keypassword'
            storeFile file('~/dev/android/workspace_android/MyNgdroidApp/keystore/mykeystore.jks')
            storePassword 'storepassword'
        }
    }
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
    defaultConfig {
        applicationId "com.mycompany.myngdroidapp"
        minSdkVersion 15
        targetSdkVersion 29
        versionCode 1
        versionName "1.00"
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.config
//            applicationVariants.all { variant ->
//                variant.outputs.each { output ->
//                    output.outputFile = new File(output.outputFile.parent,
//                            output.outputFile.name.replace("app-release", "export/MyNgdroidApp")
//                    )
//                }
//            }
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'androidx.appcompat:appcompat:1.0.2'
//    api 'com.android.support:appcompat-v7:28.0.0'
}
