Skip to content

Commit f246f9a

Browse files
authored
Merge pull request #14 from wyjsonGo/develop
update v1.2.0 1.Gradle8.0+自动注册路由 2.扫描dex方式加载模块路由类 3.注解范围@retention CLASS 修改到 SOURCE 4.优化Card类 5.获取路由注册模式
2 parents 22eeab6 + fe2e0bd commit f246f9a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'com.android.application'
3-
// id 'com.wyjson.gorouter'
3+
id 'com.wyjson.gorouter'
44
}
55

66
android {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
dependencies {
4-
// classpath "com.github.wyjsonGo.GoRouter:GoRouter-Gradle-Plugin:${VERSION}"
4+
classpath "com.github.wyjsonGo.GoRouter:GoRouter-Gradle-Plugin:${VERSION}"
55
}
66
}
77

module_common/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ android {
3636
dependencies {
3737
api 'androidx.appcompat:appcompat:1.6.1'
3838

39-
api project(path: ':GoRouter-Api')
40-
annotationProcessor project(path: ':GoRouter-Compiler')
39+
// api project(path: ':GoRouter-Api')
40+
// annotationProcessor project(path: ':GoRouter-Compiler')
4141

42-
// api "com.github.wyjsonGo.GoRouter:GoRouter-Api:${VERSION}"
43-
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
42+
api "com.github.wyjsonGo.GoRouter:GoRouter-Api:${VERSION}"
43+
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
4444
}

module_main/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ android {
3838

3939
dependencies {
4040
api project(path: ':module_common')
41-
annotationProcessor project(path: ':GoRouter-Compiler')
42-
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
41+
// annotationProcessor project(path: ':GoRouter-Compiler')
42+
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
4343
}

module_user/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ android {
3838

3939
dependencies {
4040
api project(path: ':module_common')
41-
annotationProcessor project(path: ':GoRouter-Compiler')
42-
// annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
41+
// annotationProcessor project(path: ':GoRouter-Compiler')
42+
annotationProcessor "com.github.wyjsonGo.GoRouter:GoRouter-Compiler:${VERSION}"
4343
}

0 commit comments

Comments
 (0)