Bump version and fix ACRA integration
This commit is contained in:
parent
ddc15413a3
commit
238cd2cdaf
1 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,8 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
Properties acra = new Properties()
|
||||
acra.load(new FileInputStream("app/acra.properties"))
|
||||
|
||||
android {
|
||||
configurations.all {
|
||||
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
|
||||
|
@ -21,12 +24,12 @@ android {
|
|||
applicationId "com.wbrawner.simplemarkdown"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 27
|
||||
versionCode 11
|
||||
versionName "0.4.5"
|
||||
versionCode 12
|
||||
versionName "0.4.6"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
buildConfigField "String", "ACRA_URL", "\"$acraUrl\"" // Defined in ~/.gradle/gradle.properties
|
||||
buildConfigField "String", "ACRA_USER", "\"$acraUser\"" // Defined in ~/.gradle/gradle.properties
|
||||
buildConfigField "String", "ACRA_PASS", "\"$acraPass\"" // Defined in ~/.gradle/gradle.properties
|
||||
buildConfigField "String", "ACRA_URL", "\"${acra.getProperty("url")}\""
|
||||
buildConfigField "String", "ACRA_USER", "\"${acra.getProperty("user")}\""
|
||||
buildConfigField "String", "ACRA_PASS", "\"${acra.getProperty("pass")}\""
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
|
Loading…
Reference in a new issue