Bump version and fix ACRA integration

This commit is contained in:
William Brawner 2018-09-04 18:55:24 -05:00 committed by William Brawner
parent ddc15413a3
commit 238cd2cdaf

View file

@ -1,5 +1,8 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
Properties acra = new Properties()
acra.load(new FileInputStream("app/acra.properties"))
android { android {
configurations.all { configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1' resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
@ -21,12 +24,12 @@ android {
applicationId "com.wbrawner.simplemarkdown" applicationId "com.wbrawner.simplemarkdown"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 27 targetSdkVersion 27
versionCode 11 versionCode 12
versionName "0.4.5" versionName "0.4.6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField "String", "ACRA_URL", "\"$acraUrl\"" // Defined in ~/.gradle/gradle.properties buildConfigField "String", "ACRA_URL", "\"${acra.getProperty("url")}\""
buildConfigField "String", "ACRA_USER", "\"$acraUser\"" // Defined in ~/.gradle/gradle.properties buildConfigField "String", "ACRA_USER", "\"${acra.getProperty("user")}\""
buildConfigField "String", "ACRA_PASS", "\"$acraPass\"" // Defined in ~/.gradle/gradle.properties buildConfigField "String", "ACRA_PASS", "\"${acra.getProperty("pass")}\""
} }
buildTypes { buildTypes {
release { release {