Skip to content

Commit

Permalink
FLAG_IMMUTABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcns committed Dec 12, 2022
1 parent 3464a0b commit cd42b21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20'
// 引入navigation插件库
classpath deps.gradle_plugins.nav_args
// 引入仓库插件 需运行gradle wrapper和gradlew install
Expand Down
6 changes: 3 additions & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ext.deps = [
android : "com.android.tools.build:gradle:4.0.0",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72",
// 引入navigation插件库
nav_args: "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.1",
nav_args: "androidx.navigation:navigation-safe-args-gradle-plugin:2.4.1",
// 引入仓库插件 需运行gradle wrapper和gradlew install
maven : "com.github.dcendents:android-maven-gradle-plugin:2.1"
],
Expand All @@ -26,8 +26,8 @@ ext.deps = [
constraint_layout : "androidx.constraintlayout:constraintlayout:1.1.3",
// Navigation Kotlin
// 开启navigation需要配置三个地方:module.gradle页面顶部apply、module.gradle页面dependencies、project.gradle页面的classpath
nav_fragment_ktx : "androidx.navigation:navigation-fragment-ktx:2.5.1",
nav_ui_ktx : "androidx.navigation:navigation-ui-ktx:2.5.1",
nav_fragment_ktx : "androidx.navigation:navigation-fragment-ktx:2.3.0",
nav_ui_ktx : "androidx.navigation:navigation-ui-ktx:2.3.0",
// ViewModel and LiveData
lifecycle_viewmodel: "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0",
lifecycle_livedata : "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0",
Expand Down

0 comments on commit cd42b21

Please sign in to comment.