pull/51/head
Celeter 5 years ago
parent ff7a03cbc5
commit 56394d3c6d
  1. 13
      app/build.gradle
  2. 4
      app/src/main/java/io/legado/app/constant/BookType.kt
  3. 4
      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'
apply plugin: 'com.google.gms.google-services'

@ -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"
}

@ -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'
}
}

Loading…
Cancel
Save