1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-03 19:50:55 +00:00
simplesshd/app/build.gradle
Greg Alexander 88455ed03d Move versionCode/versionName into build.gradle (instead of
AndroidManifest), because that's apparently how it should be done these
days.
2020-12-29 00:18:29 -05:00

46 lines
1019 B
Groovy

apply plugin: 'com.android.application'
def keyprops=new Properties()
keyprops.load(new FileInputStream(rootProject.file("keystore.properties")))
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
sourceSets {
main {
jniLibs.srcDirs 'src/main/lib'
}
}
signingConfigs {
release {
keyAlias keyprops['keyAlias']
keyPassword keyprops['keyPassword']
storeFile file(keyprops['storeFile'])
storePassword keyprops['storePassword']
}
}
defaultConfig {
applicationId "org.galexander.sshd"
minSdkVersion 17
targetSdkVersion 30
versionCode 24
versionName "24"
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.leanback:leanback:1.0.0'
}