From 56394d3c6d82b61110170e1a026aba9dcc98fdf8 Mon Sep 17 00:00:00 2001 From: Celeter Date: Mon, 2 Dec 2019 22:32:38 +0800 Subject: [PATCH] up --- app/build.gradle | 13 ++++++------- .../main/java/io/legado/app/constant/BookType.kt | 4 ++-- build.gradle | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d104b5384..43c822e3b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: "de.timfreiheit.resourceplaceholders" -//apply plugin: 'io.fabric' +apply plugin: 'io.fabric' androidExtensions { experimental = true @@ -30,9 +30,8 @@ android { } } defaultConfig { - applicationId "io.legado.apps" - //minSdkVersion 21 - minSdkVersion 28 + applicationId "io.legado.app" + minSdkVersion 21 targetSdkVersion 29 versionCode gitCommits versionName version @@ -88,8 +87,8 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" //fireBase - //implementation 'com.google.firebase:firebase-core:17.2.1' - //implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1' + implementation 'com.google.firebase:firebase-core:17.2.1' + implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1' //androidX implementation 'androidx.core:core-ktx:1.2.0-rc01' @@ -162,4 +161,4 @@ dependencies { implementation 'ru.noties.markwon:core:3.0.2' } -//apply plugin: 'com.google.gms.google-services' \ No newline at end of file +apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/constant/BookType.kt b/app/src/main/java/io/legado/app/constant/BookType.kt index 0e7316f4d..4a8be5d26 100644 --- a/app/src/main/java/io/legado/app/constant/BookType.kt +++ b/app/src/main/java/io/legado/app/constant/BookType.kt @@ -1,7 +1,7 @@ package io.legado.app.constant object BookType { - const val default = 0 // 0 Îı¾ - const val audio = 1 // 1 ÒôƵ + const val default = 0 // 0 文本 + const val audio = 1 // 1 音频 const val local = "loc_book" } \ No newline at end of file diff --git a/build.gradle b/build.gradle index ff1c4ef8f..cb1547a01 100644 --- a/build.gradle +++ b/build.gradle @@ -12,8 +12,8 @@ buildscript { classpath 'com.android.tools.build:gradle:3.5.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3' - //classpath 'com.google.gms:google-services:4.3.3' - //classpath 'io.fabric.tools:gradle:1.31.0' + classpath 'com.google.gms:google-services:4.3.3' + classpath 'io.fabric.tools:gradle:1.31.0' } }