mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Merge branch 'master' into dev
This commit is contained in:
@@ -3,6 +3,7 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'jacoco'
|
||||
apply plugin: 'com.github.triplet.play'
|
||||
import org.ajoberstar.grgit.Grgit
|
||||
|
||||
ext {
|
||||
@@ -15,6 +16,21 @@ android {
|
||||
compileSdkVersion COMPILE_SDK_VERSION as Integer
|
||||
buildToolsVersion BUILD_TOOLS_VERSION
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(LOOP_STORE_FILE)
|
||||
storePassword LOOP_STORE_PASSWORD
|
||||
keyAlias LOOP_KEY_ALIAS
|
||||
keyPassword LOOP_KEY_PASSWORD
|
||||
}
|
||||
}
|
||||
|
||||
playAccountConfigs {
|
||||
defaultAccountConfig {
|
||||
jsonFile = file('../secret/playstore.json')
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
versionCode VERSION_CODE as Integer
|
||||
versionName "$VERSION_NAME ($GIT_BRANCH $GIT_COMMIT)"
|
||||
@@ -29,12 +45,15 @@ android {
|
||||
includeCompileClasspath false
|
||||
}
|
||||
}
|
||||
|
||||
playAccountConfig = playAccountConfigs.defaultAccountConfig
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
debug {
|
||||
@@ -165,3 +184,6 @@ task coverageReport(type: JacocoReport) {
|
||||
}
|
||||
}
|
||||
|
||||
play {
|
||||
track = 'alpha'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user