diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-03 21:34:17 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-03 21:34:17 -0700 |
commit | 610df8c6d772324095b1c3d2cc17f9c243be6c06 (patch) | |
tree | 3d669f6bdd343ab9db8cbc9910e933e23b381fd2 /app/build.gradle | |
parent | 8ec65f55f85c730e97d5521c1443819435b98208 (diff) | |
download | frost-610df8c6d772324095b1c3d2cc17f9c243be6c06.tar.gz frost-610df8c6d772324095b1c3d2cc17f9c243be6c06.tar.bz2 frost-610df8c6d772324095b1c3d2cc17f9c243be6c06.zip |
test crashlytics
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 9c76f38c..281799ef 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,13 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' +apply plugin: 'io.fabric' +def fabricProps = new Properties() +file("../fabric.properties").withInputStream { + stream -> fabricProps.load(stream) +} +def FABRIC_API_KEY = System.env.FABRIC_API_KEY ?: fabricProps.getProperty('FABRIC_API_KEY', 'empty') +println 'Fabric ' + FABRIC_API_KEY android { compileSdkVersion Integer.parseInt(project.TARGET_SDK) buildToolsVersion project.BUILD_TOOLS @@ -13,6 +20,7 @@ android { versionName project.VERSION_NAME multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + manifestPlaceholders = [fabricApiKey: FABRIC_API_KEY] } applicationVariants.all { variant -> @@ -142,6 +150,10 @@ dependencies { kapt "nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}" compile "com.jude:swipebackhelper:${SWIPE_BACK}" + + compile("com.crashlytics.sdk.android:crashlytics:${CRASHLYTICS}@aar") { + transitive = true; + } } kapt { |