Commit d2ccce81 authored by Robert Hitt's avatar Robert Hitt

Now building AND running almost works

-I also added the public Fabric key to the repo, because it seemed there
was no other way. Really hope no one abuses that.
parent 11405d12
......@@ -16,7 +16,6 @@ repositories {
apply plugin: 'android-apt'
apply plugin: 'realm-android'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion 25
......
......@@ -63,6 +63,9 @@
<service android:name=".util.NotificationService"
android:exported="false" />
<meta-data android:name="io.fabric.ApiKey"
android:value="efd41c497ec3bc605941d2bbb6353dfc2b2e3710"/>
</application>
</manifest>
\ No newline at end of file
......@@ -8,6 +8,7 @@ import android.content.res.Configuration;
import android.preference.PreferenceManager;
import com.crashlytics.android.Crashlytics;
import com.crashlytics.android.core.CrashlyticsCore;
import com.squareup.leakcanary.LeakCanary;
import io.fabric.sdk.android.Fabric;
......@@ -20,7 +21,10 @@ public class MyApplication extends Application {
public void onCreate() {
super.onCreate();
Fabric.with(this, new Crashlytics());
Crashlytics crashlyticsKit = new Crashlytics.Builder()
.core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
.build();
Fabric.with(this, crashlyticsKit);
// Set up LeakCanary for memory leak detection
if(LeakCanary.isInAnalyzerProcess(this)) {
......
......@@ -4,13 +4,11 @@ buildscript {
repositories {
mavenCentral()
jcenter()
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.android.tools.build:gradle:3.0.0-beta2'
classpath "io.realm:realm-gradle-plugin:3.0.0"
classpath 'me.tatarka:gradle-retrolambda:3.3.1'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......@@ -21,6 +19,7 @@ allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.google.com' }
}
}
......
#Sat Aug 12 23:04:43 EDT 2017
#Sat Aug 12 23:31:06 EDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-milestone-1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment