added dex build error reporting

This commit is contained in:
Mariotaku Lee 2017-11-17 00:08:17 +08:00
parent a954d994a7
commit 868b69e2c7
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
2 changed files with 7 additions and 3 deletions

View File

@ -11,3 +11,4 @@ find /tmp -maxdepth 1 -name 'kotlin-daemon.*.log' -exec sh -c 'travis/scripts/dr
find /tmp -maxdepth 1 -name 'hs_err_pid*.log' -exec sh -c 'travis/scripts/dropbox_uploader.sh upload $1 $TRAVIS_BUILD_ID/$(basename $1)' find-sh {} \;
find ~/.gradle/daemon/ -name 'daemon-*.log' -exec sh -c 'travis/scripts/dropbox_uploader.sh upload $1 $TRAVIS_BUILD_ID/gradle-$(basename $1)' find-sh {} \;
dmesg > dmesg.log; travis/scripts/dropbox_uploader.sh upload dmesg.log ${TRAVIS_BUILD_ID}/dmesg.log
tar -C ./twidere/build/intermediates/multi-dex/ -czf build-multidex.tgz .; travis/scripts/dropbox_uploader.sh upload build-multidex.tgz ${TRAVIS_BUILD_ID}/build-multidex.tgz

View File

@ -31,7 +31,7 @@ android {
buildToolsVersion globalBuildToolsVersion
defaultConfig {
applicationId "org.mariotaku.twidere"
applicationId 'org.mariotaku.twidere'
minSdkVersion 14
targetSdkVersion 27
versionCode projectVersionCode
@ -41,7 +41,7 @@ android {
buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("false")'
buildConfigField 'boolean', 'SHOW_CUSTOM_TOKEN_DIALOG', 'Boolean.parseBoolean("false")'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
compileOptions {
@ -49,8 +49,11 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
dexOptions {
}
aaptOptions {
additionalParameters "--no-version-vectors"
additionalParameters '--no-version-vectors'
}
flavorDimensions 'channel'