Skip to content

Commit

Permalink
Merge pull request #14 from wyjsonGo/develop
Browse files Browse the repository at this point in the history
update v1.2.0
1.Gradle8.0+自动注册路由
2.扫描dex方式加载模块路由类
3.注解范围@retention CLASS 修改到 SOURCE
4.优化Card类
5.获取路由注册模式
  • Loading branch information
wyjsonGo authored Nov 7, 2023
2 parents 22eeab6 + fe2e0bd commit f246f9a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'com.android.application'
// id 'com.wyjson.gorouter'
id 'com.wyjson.gorouter'
}

android {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
dependencies {
// classpath "com.github.wyjsonGo.GoRouter:GoRouter-Gradle-Plugin:${VERSION}"
classpath "com.github.wyjsonGo.GoRouter:GoRouter-Gradle-Plugin:${VERSION}"
}
}

Expand Down
8 changes: 4 additions & 4 deletions module_common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ android {
dependencies {
api 'androidx.appcompat:appcompat:1.6.1'

api project(path: ':GoRouter-Api')
annotationProcessor project(path: ':GoRouter-Compiler')
// api project(path: ':GoRouter-Api')
// annotationProcessor project(path: ':GoRouter-Compiler')

// api "com.github.wyjsonGo.GoRouter:GoRouter-Api:${VERSION}"
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
api "com.github.wyjsonGo.GoRouter:GoRouter-Api:${VERSION}"
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
}
4 changes: 2 additions & 2 deletions module_main/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ android {

dependencies {
api project(path: ':module_common')
annotationProcessor project(path: ':GoRouter-Compiler')
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
// annotationProcessor project(path: ':GoRouter-Compiler')
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
}
4 changes: 2 additions & 2 deletions module_user/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ android {

dependencies {
api project(path: ':module_common')
annotationProcessor project(path: ':GoRouter-Compiler')
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
// annotationProcessor project(path: ':GoRouter-Compiler')
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
}

0 comments on commit f246f9a

Please sign in to comment.