Skip to content
Snippets Groups Projects
Commit 416d8ea1 authored by Michi302's avatar Michi302
Browse files

Removed fabric to fix #40

parent e9a4449c
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -10,11 +10,6 @@ This is the source code for the unofficial GitLab Android app.
Please see the [issues](https://gitlab.com/Commit451/GitLabAndroid/issues) section to
report any bugs or feature requests and to see the list of known issues.
 
## Building
The app uses Fabric for Crashlytics, so you will need to generate your own Crashlytics/Fabric key. All in all, your gradle.properties will look something like this:
```Gradle
GITLAB_FABRIC_KEY = FABRIC_KEY_GOES_HERE_BUT_ONLY_REALLY_NEEDED_FOR_RELEASE_BUILDS
```
## Libraries
The following 3rd party libraries are the reason this app works. Rapid development is easily attainable thanks to these fine folks and the work they do:
 
Loading
Loading
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.neenbedankt.android-apt'
 
android {
Loading
Loading
@@ -17,14 +16,10 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
ext.enableCrashlytics = true
manifestPlaceholders = [fabric_key: project.GITLAB_FABRIC_KEY]
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
ext.enableCrashlytics = false
manifestPlaceholders = [fabric_key: ""]
}
}
lintOptions {
Loading
Loading
@@ -62,7 +57,4 @@ dependencies {
compile 'com.commit451:easel:0.0.4'
compile 'com.github.ivbaranov:MaterialLetterIcon:0.2.1'
compile 'com.github.johnkil.android-robototextview:robototextview:2.4.3'
compile('com.crashlytics.sdk.android:crashlytics:2.5.3@aar') {
transitive = true;
}
}
Loading
Loading
@@ -56,9 +56,6 @@
android:theme="@style/Activity.Group"/>
<activity android:name=".activities.MergeRequestActivity"/>
<activity android:name=".dialogs.NewIssuePopupDialog" android:theme="@style/Activity.Translucent"/>
<meta-data
android:name="io.fabric.ApiKey"
android:value="${fabric_key}" />
</application>
 
</manifest>
\ No newline at end of file
Loading
Loading
@@ -2,12 +2,10 @@ package com.commit451.gitlab;
 
import android.app.Application;
 
import com.crashlytics.android.Crashlytics;
import com.squareup.otto.Bus;
 
import net.danlew.android.joda.JodaTimeAndroid;
 
import io.fabric.sdk.android.Fabric;
import timber.log.Timber;
 
/**
Loading
Loading
@@ -35,8 +33,6 @@ public class GitLabApp extends Application {
instance = this;
if (BuildConfig.DEBUG) {
Timber.plant(new Timber.DebugTree());
} else {
Fabric.with(this, new Crashlytics());
}
JodaTimeAndroid.init(this);
}
Loading
Loading
Loading
Loading
@@ -3,21 +3,18 @@ apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3'
classpath 'io.fabric.tools:gradle:1.+'
}
}
 
allprojects {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment