HuolalaTech / hll-wp-therouter-android

A framework for assisting in the renovation of Android componentization(帮助 App 进行组件化改造的动态路由框架)
https://therouter.cn/
Apache License 2.0
1.06k stars 128 forks source link

gradle8 gradle.kts 编译失败 #106

Closed gengzhaohe closed 9 months ago

gengzhaohe commented 10 months ago

1 problem was found storing the configuration cache.

See the complete report at file:///Users/huajiao/myprj/ata/ata-android/build/reports/configuration-cache/cbngny7vmeq10ks1esuvg880b/3r0xhnmj9r540pmcrjvjuvqea/configuration-cache-report.html

Invocation of 'Task.project' by task ':app:debugTheRouterGetAllClasses' at execution time is unsupported.

project-> build.gradle.kts plugins { id("com.android.application") version "8.1.0" apply false id("org.jetbrains.kotlin.android") version "1.8.10" apply false id("com.android.library") version "8.1.0" apply false id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false id("com.google.dagger.hilt.android") version "2.47" apply false id("cn.therouter.agp8") version "1.2.0-rc1" apply false }

app -> build.gradle.kts plugins { id("com.google.devtools.ksp") id("com.android.application") id("org.jetbrains.kotlin.android") kotlin("kapt") id("com.google.dagger.hilt.android") id("therouter") }

kymjs commented 9 months ago

1.2.0-rc5,已修复
https://github.com/HuolalaTech/hll-wp-therouter-android/releases/tag/v1.2.0-rc5

gengzhaohe commented 9 months ago

更新到 1.2.0-rc5 还是不行

1 problem was found storing the configuration cache.

// Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id("com.android.application") version "8.0.0" apply false id("org.jetbrains.kotlin.android") version "1.8.10" apply false id("com.android.library") version "8.0.0" apply false id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false id("com.google.dagger.hilt.android") version "2.47" apply false id("cn.therouter.agp8") version "1.2.0-rc5" apply false }