From 6d71b13d4bed4399bb398c7b97b83090fff6bb1e Mon Sep 17 00:00:00 2001 From: Aleyn Date: Thu, 11 Apr 2024 12:21:27 +0800 Subject: [PATCH] feat: plugin publish --- .gitignore | 3 ++- .idea/gradle.xml | 15 +---------- build-logic/plugin/.gitignore | 1 - build-logic/settings.gradle | 25 ------------------ build.gradle | 7 +++-- gradle/libs.versions.toml | 3 +-- gradle/wrapper/gradle-wrapper.properties | 4 +-- {build-logic => plugin}/.gitignore | 0 {build-logic/plugin => plugin}/build.gradle | 19 ++++++++++++- .../main/build/com/aleyn/plugin/Version.kt | 0 .../com/aleyn/router/plug/RouterPlugin.kt | 0 .../com/aleyn/router/plug/data/HandleModel.kt | 0 .../com/aleyn/router/plug/data/RouterTable.kt | 0 .../router/plug/task/GenLRouterDocTask.kt | 0 .../plug/task/LRouterAsmClassVisitor.kt | 0 .../router/plug/task/RouterStubClassTask.kt | 0 .../com/aleyn/router/plug/task/TaskExt.kt | 0 .../plug/visitor/AutowiredInstructAdapter.kt | 0 .../visitor/InitializerInstructAdapter.kt | 0 .../router/plug/visitor/InsertCodeVisitor.kt | 0 .../plug/visitor/InterceptInstructAdapter.kt | 0 .../visitor/ModuleRouterInstructAdapter.kt | 0 plugins/plugin.jar | Bin 0 -> 45995 bytes router/build.gradle | 5 ---- settings.gradle | 5 ++-- 25 files changed, 32 insertions(+), 55 deletions(-) delete mode 100644 build-logic/plugin/.gitignore delete mode 100644 build-logic/settings.gradle rename {build-logic => plugin}/.gitignore (100%) rename {build-logic/plugin => plugin}/build.gradle (67%) rename {build-logic/plugin => plugin}/src/main/build/com/aleyn/plugin/Version.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/RouterPlugin.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/data/HandleModel.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/data/RouterTable.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/task/GenLRouterDocTask.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/task/LRouterAsmClassVisitor.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/task/RouterStubClassTask.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/task/TaskExt.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/visitor/AutowiredInstructAdapter.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/visitor/InitializerInstructAdapter.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/visitor/InsertCodeVisitor.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/visitor/InterceptInstructAdapter.kt (100%) rename {build-logic/plugin => plugin}/src/main/java/com/aleyn/router/plug/visitor/ModuleRouterInstructAdapter.kt (100%) create mode 100644 plugins/plugin.jar diff --git a/.gitignore b/.gitignore index 36d7d88..8680789 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ .externalNativeBuild .cxx local.properties -.idea/deploymentTargetDropDown \ No newline at end of file +.idea/deploymentTargetDropDown +build-logic \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 97c59ea..385562f 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,18 +4,6 @@