From 1f6e34c8f7edeab8af071bfa9cdbd8137c658a69 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 3 Jun 2017 21:51:34 -0700 Subject: Make fabric api key public --- app/build.gradle | 10 ---------- app/src/main/AndroidManifest.xml | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 80895f6e..4efb8529 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,15 +2,6 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'io.fabric' -def FABRIC_API_KEY = System.env.FABRIC_API_KEY -if (FABRIC_API_KEY == null) { - def fabricProps = new Properties() - file("../fabric.properties").withInputStream { - stream -> fabricProps.load(stream) - } - 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 @@ -23,7 +14,6 @@ android { versionName project.VERSION_NAME multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - manifestPlaceholders = [fabricApiKey: FABRIC_API_KEY] } applicationVariants.all { variant -> diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ae058ff2..8f00a41d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -106,7 +106,7 @@ + android:value="18b3c223b96b7e7fc1fac372e36b8f4d49a193c7" /> \ No newline at end of file -- cgit v1.2.3