Skip to content

Commit

Permalink
config: 更新 config gradle 配置信息
Browse files Browse the repository at this point in the history
  • Loading branch information
afkT committed Jan 25, 2024
1 parent 4d14ffa commit 3f1a131
Show file tree
Hide file tree
Showing 12 changed files with 399 additions and 400 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ buildscript {

dependencies {
// https://mvnrepository.com/artifact/com.android.tools.build/gradle
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.android.tools.build:gradle:8.2.2'
// kotlin https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugin
classpath rootProject.ext.deps.build.kotlin_gradle_plugin
// TheRouter AutoRegister https://mvnrepository.com/artifact/cn.therouter/plugin
classpath rootProject.ext.deps.lib.arouter_register
classpath rootProject.ext.deps.lib.arouter_register_fork
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ open class AppContext : BaseAppContext(),
// ViewModelStore
private lateinit var mAppViewModelStore: ViewModelStore

override fun getViewModelStore(): ViewModelStore {
return mAppViewModelStore
}
override val viewModelStore: ViewModelStore
get() = mAppViewModelStore
}
4 changes: 2 additions & 2 deletions file/gradle/build/router/arouter/build_arouter_app.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ kapt {
dependencies {

// ARouter 路由 https://github.com/alibaba/ARouter
api deps.lib.arouter_api // https://github.com/alibaba/ARouter/blob/master/README_CN.md
kapt deps.lib.arouter_compiler
api deps.lib.arouter_api_fork // https://github.com/alibaba/ARouter/blob/master/README_CN.md
kapt deps.lib.arouter_compiler_fork
}
4 changes: 2 additions & 2 deletions file/gradle/build/router/arouter/build_arouter_module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ kapt {
dependencies {

// ARouter 路由 https://github.com/alibaba/ARouter
api deps.lib.arouter_api // https://github.com/alibaba/ARouter/blob/master/README_CN.md
kapt deps.lib.arouter_compiler
api deps.lib.arouter_api_fork // https://github.com/alibaba/ARouter/blob/master/README_CN.md
kapt deps.lib.arouter_compiler_fork
}
92 changes: 46 additions & 46 deletions file/gradle/build/unified/unified_library_config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,121 +11,121 @@ allprojects {
// = kotlin =

// stdlib
"org.jetbrains.kotlin:kotlin-stdlib:1.7.10",
"org.jetbrains.kotlin:kotlin-stdlib:1.9.22",
// core
"androidx.core:core-ktx:1.8.0",
"androidx.core:core-ktx:1.12.0",
// coroutines
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4",
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3",
// lifecycle_runtime
"androidx.lifecycle:lifecycle-runtime-ktx:2.5.1",
"androidx.lifecycle:lifecycle-runtime-ktx:2.7.0",
// lifecycle_viewmodel
"androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1",
"androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0",
// lifecycle_livedata
"androidx.lifecycle:lifecycle-livedata-ktx:2.5.1",
"androidx.lifecycle:lifecycle-livedata-ktx:2.7.0",
// lifecycle_viewmodel_savedstate
"androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1",
"androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0",
// lifecycle_common_java8
"androidx.lifecycle:lifecycle-common-java8:2.5.1",
"androidx.lifecycle:lifecycle-common-java8:2.7.0",
// room_runtime
"androidx.room:room-runtime:2.4.3",
"androidx.room:room-runtime:2.6.1",
// room_compiler
"androidx.room:room-compiler:2.4.3",
"androidx.room:room-compiler:2.6.1",
// room
"androidx.room:room-ktx:2.4.3",
"androidx.room:room-ktx:2.6.1",
// work_runtime
"androidx.work:work-runtime-ktx:2.7.1",
"androidx.work:work-runtime-ktx:2.9.0",
// datastore_preferences
"androidx.datastore:datastore-preferences:1.0.0",
"androidx.datastore:datastore-preferences:1.1.0-beta01",
// fragment
"androidx.fragment:fragment-ktx:1.5.2",
"androidx.fragment:fragment-ktx:1.6.2",
// activity
"androidx.activity:activity-ktx:1.5.1",
"androidx.activity:activity-ktx:1.8.2",
// navigation_fragment
"androidx.navigation:navigation-fragment-ktx:2.5.2",
"androidx.navigation:navigation-fragment-ktx:2.7.6",
// navigation_ui
"androidx.navigation:navigation-ui-ktx:2.5.2",
"androidx.navigation:navigation-ui-ktx:2.7.6",
// palette
"androidx.palette:palette-ktx:1.0.0",

// = androidx =

// appcompat
"androidx.appcompat:appcompat:1.5.1",
"androidx.appcompat:appcompat:1.6.1",
// appcompat_resources
"androidx.appcompat:appcompat-resources:1.5.1",
"androidx.appcompat:appcompat-resources:1.6.1",
// cardview
"androidx.cardview:cardview:1.0.0",
// recyclerview
"androidx.recyclerview:recyclerview:1.2.1",
"androidx.recyclerview:recyclerview:1.3.2",
// multidex
"androidx.multidex:multidex:2.0.1",
// constraint_layout
"androidx.constraintlayout:constraintlayout:2.1.4",
// viewpager2
"androidx.viewpager2:viewpager2:1.0.0",
"androidx.viewpager2:viewpager2:1.1.0-beta02",
// sqlite
"androidx.sqlite:sqlite:2.2.0",
"androidx.sqlite:sqlite:2.4.0",
// design
"com.google.android.material:material:1.6.1",
"com.google.android.material:material:1.11.0",
// work_runtime
"androidx.work:work-runtime:2.7.1",
"androidx.work:work-runtime:2.9.0",
// fragment
"androidx.fragment:fragment:1.5.2",
"androidx.fragment:fragment:1.6.2",
// activity
"androidx.activity:activity:1.5.1",
"androidx.activity:activity:1.8.2",
// navigation_fragment
"androidx.navigation:navigation-fragment:2.5.2",
"androidx.navigation:navigation-fragment:2.7.6",
// navigation_ui
"androidx.navigation:navigation-ui:2.5.2",
"androidx.navigation:navigation-ui:2.7.6",
// palette
"androidx.palette:palette:1.0.0",
// flexbox
"com.google.android.flexbox:flexbox:3.0.0",
// startup
"androidx.startup:startup-runtime:1.1.1",
// hilt_android
"com.google.dagger:hilt-android:2.43.2",
"com.google.dagger:hilt-android:2.50",
// hilt_android_compiler
"com.google.dagger:hilt-android-compiler:2.43.2",
"com.google.dagger:hilt-android-compiler:2.50",
// swiperefreshlayout
"androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
// exifinterface
"androidx.exifinterface:exifinterface:1.3.3",
"androidx.exifinterface:exifinterface:1.3.7",

// = compose =

// ui
"androidx.compose.ui:ui:1.2.1",
"androidx.compose.ui:ui:1.5.4",
// runtime
"androidx.compose.runtime:runtime:1.2.1",
"androidx.compose.runtime:runtime:1.5.4",
// runtime_livedata
"androidx.compose.runtime:runtime-livedata:1.2.1",
"androidx.compose.runtime:runtime-livedata:1.5.4",
// animation
"androidx.compose.animation:animation:1.2.1",
"androidx.compose.animation:animation:1.5.4",
// foundation
"androidx.compose.foundation:foundation:1.2.1",
"androidx.compose.foundation:foundation:1.5.4",
// material
"androidx.compose.material:material:1.2.1",
"androidx.compose.material:material:1.5.4",
// material3
"androidx.compose.material3:material3:1.0.0-beta02",
"androidx.compose.material3:material3:1.1.2",
// material3_window_size_class
"androidx.compose.material3:material3-window-size-class:1.0.0-beta02",
"androidx.compose.material3:material3-window-size-class:1.1.2",
// lifecycle_viewmodel
"androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1",
"androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0",
// navigation
"androidx.navigation:navigation-compose:2.5.2",
"androidx.navigation:navigation-compose:2.7.6",
// constraintlayout
"androidx.constraintlayout:constraintlayout-compose:1.0.1",

// = 手动添加 =

"androidx.lifecycle:lifecycle-livedata:2.5.1",
"androidx.lifecycle:lifecycle-process:2.4.1",
"androidx.lifecycle:lifecycle-livedata:2.7.0",
"androidx.lifecycle:lifecycle-process:2.7.0",
"androidx.transition:transition:1.4.1",
"androidx.annotation:annotation:1.4.0",
"androidx.annotation:annotation:1.5.0",
"androidx.collection:collection:1.1.0",
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10",
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10",
)
}
}
Expand Down
Loading

0 comments on commit 3f1a131

Please sign in to comment.