mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Merge pull request #2780 from greatyingzi/dev-remove-multidex
优化:移除multidex
This commit is contained in:
commit
0198b871d4
@ -45,7 +45,6 @@ android {
|
||||
versionName version
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
project.ext.set("archivesBaseName", name + "_" + version)
|
||||
multiDexEnabled true
|
||||
|
||||
buildConfigField "String", "Cronet_Version", "\"$CronetVersion\""
|
||||
buildConfigField "String", "Cronet_Main_Version", "\"$CronetMainVersion\""
|
||||
@ -133,7 +132,6 @@ dependencies {
|
||||
testImplementation('junit:junit:4.13.2')
|
||||
androidTestImplementation('androidx.test:runner:1.5.2')
|
||||
androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1')
|
||||
implementation('androidx.multidex:multidex:2.0.1')
|
||||
//kotlin
|
||||
//noinspection GradleDependency,DifferentStdlibGradleVersion
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")
|
||||
|
@ -1,12 +1,12 @@
|
||||
package io.legado.app
|
||||
|
||||
import android.app.Application
|
||||
import android.app.NotificationChannel
|
||||
import android.app.NotificationManager
|
||||
import android.content.Context
|
||||
import android.content.pm.ActivityInfo
|
||||
import android.content.res.Configuration
|
||||
import android.os.Build
|
||||
import androidx.multidex.MultiDexApplication
|
||||
import com.github.liuyueyi.quick.transfer.ChineseUtils
|
||||
import com.github.liuyueyi.quick.transfer.constants.TransType
|
||||
import com.jeremyliao.liveeventbus.LiveEventBus
|
||||
@ -33,7 +33,7 @@ import splitties.init.appCtx
|
||||
import splitties.systemservices.notificationManager
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class App : MultiDexApplication() {
|
||||
class App : Application() {
|
||||
|
||||
private lateinit var oldConfig: Configuration
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user