Skip to content

Commit

Permalink
[modify]更新KRouter依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
cy745 committed Jan 1, 2025
1 parent 0d8b147 commit 4596ecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ plugins {
alias(libs.plugins.ksp) apply false
alias(libs.plugins.flyjingfish.aop) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.krouter.plugin)
}

buildscript {
dependencies { classpath(libs.krouter.plugin) }
}

ext { set("targetInjectProjectName", "app") }
apply(plugin = "krouter-plugin")
// 配置注入遍历的起点项目
ext { set("targetInjectProjectName", "app") }
9 changes: 3 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ media3 = "1.5.0"
gson = "2.11.0"
flyjingfish-aop = "1.9.7"
paging_version = "3.3.5"

krouter_version = "0.0.1"
krouter_version = "0.0.3"

[libraries]
# kotlin
Expand Down Expand Up @@ -110,10 +109,7 @@ flyjingfish-aop-core = { module = "io.github.FlyJingFish.AndroidAop:android-aop-
flyjingfish-aop-annotation = { module = "io.github.FlyJingFish.AndroidAop:android-aop-annotation", version.ref = "flyjingfish-aop" }
flyjingfish-aop-ksp = { module = "io.github.FlyJingFish.AndroidAop:android-aop-ksp", version.ref = "flyjingfish-aop" }

# KRouter
krouter-core = { module = "com.github.cy745.KRouter:core", version.ref = "krouter_version" }
krouter-plugin = { module = "com.github.cy745.KRouter:plugin", version.ref = "krouter_version" }

krouter-core = { module = "io.github.cy745.KRouter:core", version.ref = "krouter_version" }
human-readable = { module = "nl.jacobras:Human-Readable", version = "1.10.0" }

[plugins]
Expand All @@ -124,6 +120,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp_version" }
flyjingfish-aop = { id = "io.github.FlyJingFish.AndroidAop.android-aop", version.ref = "flyjingfish-aop" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin_version" }
krouter-plugin = { id = "io.github.cy745.KRouter.plugin", version.ref = "krouter_version" }


[bundles]
Expand Down

0 comments on commit 4596ecc

Please sign in to comment.