mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化代码
This commit is contained in:
parent
cbc0af3819
commit
1c175a1ed0
@ -40,30 +40,41 @@ kapt {
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
//kotlin
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
|
||||
//androidX
|
||||
implementation 'androidx.core:core-ktx:1.2.0-alpha01'
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha05'
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta1'
|
||||
implementation 'com.google.android.material:material:1.1.0-alpha06'
|
||||
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation 'com.google.android.material:material:1.0.0'
|
||||
//lifecycle
|
||||
def lifecycle_version = '2.0.0'
|
||||
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
||||
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
|
||||
|
||||
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
||||
kapt 'androidx.lifecycle:lifecycle-compiler:2.0.0'
|
||||
|
||||
implementation 'androidx.room:room-runtime:2.0.0'
|
||||
kapt 'androidx.room:room-compiler:2.0.0'
|
||||
//room
|
||||
def room_version = '2.0.0'
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
|
||||
//paging
|
||||
implementation 'androidx.paging:paging-runtime:2.1.0'
|
||||
|
||||
//anko
|
||||
def anko_version = '0.10.8'
|
||||
implementation "org.jetbrains.anko:anko-sdk27:$anko_version"
|
||||
implementation "org.jetbrains.anko:anko-sdk27-listeners:$anko_version"
|
||||
|
||||
//协程
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.1'
|
||||
def coroutines_version = '1.2.1'
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
|
||||
|
||||
//规则相关
|
||||
implementation 'com.google.code.gson:gson:2.8.5'
|
||||
implementation 'org.jsoup:jsoup:1.12.1'
|
||||
@ -78,8 +89,4 @@ dependencies {
|
||||
|
||||
//Glide
|
||||
implementation 'com.github.bumptech.glide:glide:4.8.0'
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user