Skip to content

Commit

Permalink
fixes #205 -- remove fabric crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
sphrak committed Oct 17, 2020
1 parent 7325945 commit 273bf10
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'io.fabric'

def static loadFromEnvironment(String key) {
return System.getenv(key)
Expand Down Expand Up @@ -45,10 +44,6 @@ android {
vectorDrawables.useSupportLibrary = true
flavorDimensions "default"
testInstrumentationRunner "androidx.top.runner.AndroidJUnitRunner"
manifestPlaceholders = [FABRIC_API_KEY: loadFromFile("FABRIC_API_KEY", ".env")]
if (isRunningOnTravis) {
manifestPlaceholders = [FABRIC_API_KEY: loadFromEnvironment("FABRIC_API_KEY")]
}
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
Expand Down Expand Up @@ -96,7 +91,6 @@ android {
}
debug {
ext.alwaysUpdateBuildId = false
ext.enableCrashlytics = false
testCoverageEnabled = true
versionNameSuffix "debug"
resValue "string", "app_version", "${defaultConfig.versionName}-${versionNameSuffix}-${getGitSha}"
Expand All @@ -107,12 +101,10 @@ android {
signingConfig signingConfigs.release
}
fdroid {
ext.enableCrashlytics = false
signingConfig fdroid.signingConfig
}
github {
signingConfig signingConfigs.release
ext.enableCrashlytics = false
versionNameSuffix "signed"
resValue "string", "app_version", "${defaultConfig.versionName}-${getGitSha}-${versionNameSuffix}"
}
Expand Down Expand Up @@ -271,6 +263,5 @@ tasks.register("ktlintFormat", JavaExec) {
}

repositories {
maven { url 'https://maven.fabric.io/public' }
mavenCentral()
}
3 changes: 0 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,5 @@
android:name="fi.kroon.vadret.presentation.weatherforecastwidget.medium.service.WeatherForecastMediumService"
android:permission="android.permission.BIND_REMOTEVIEWS" />

<meta-data
android:name="io.fabric.ApiKey"
android:value="${FABRIC_API_KEY}" />
</application>
</manifest>
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.KOTLIN_VERSION = "1.4.10"
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {

classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "io.fabric.tools:gradle:1.31.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
Expand Down

0 comments on commit 273bf10

Please sign in to comment.