diff --git a/code/base/zcgj-zcdev-base-common/build.gradle b/code/base/zcgj-zcdev-base-common/build.gradle index bea86ac..a10d572 100644 --- a/code/base/zcgj-zcdev-base-common/build.gradle +++ b/code/base/zcgj-zcdev-base-common/build.gradle @@ -30,14 +30,14 @@ dependencies { //api 'org.apache.logging.log4j:log4j-to-slf4j:2.20.0' //默认情况下,biz目录下的依赖均为运行时依赖 - runtimeOnly fileTree(dir: biz, include: '*.jar') + api fileTree(dir: biz, include: '*.jar') //如存在编译阶段需要依赖的jar包,则可参考一下配置,按需引入对应的jar包 //api fileTree(dir: biz, include: '*sdk*.jar') //编译阶段不需要依赖的jar包,则统一配置为运行时依赖 //runtimeOnly fileTree(biz) { include '*.jar' exclude '*sdk*.jar' } - runtimeOnly fileTree(dir: cus, include: '*.jar') + api fileTree(dir: cus, include: '*.jar') api fileTree(dir: lib, include: '*.jar') } \ No newline at end of file