zhongcaiguoji/code/base/zcgj-zcdev-base-common/build.gradle

43 lines
1.6 KiB
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin.
* If there are any issues during the use process, you can provide feedback to the kingdee developer community website.
* Website: https://developer.kingdee.com/developer?productLineId=29
* Author: liebin.zheng
* Generate Date: 2024-11-22 11:26:47
*/
apply from: '../../../config.gradle'
def bos = ext.path.bos
def trd = ext.path.trd
def cus = ext.path.cus
def biz = ext.path.biz
def lib = ext.path.lib
dependencies {
api fileTree(dir: bos, include: '*.jar')
api fileTree(trd) { include '*.jar' exclude 'qing-arthas-*.jar' }
//如果出现本地启动出现log4j相关依赖包版本冲突的问题则可以参考以下方式手工解决
//api fileTree(trd) {
// include '*.jar'
// exclude 'log4j-api-*.jar','logback-*.jar','slf4j-*.jar','qing-arthas-*.jar'
//}
//api 'cn.hutool:hutool-all:5.8.20'
//api 'ch.qos.logback:logback-classic:1.2.12'
//api 'org.slf4j:log4j-over-slf4j:1.7.36'
//api 'org.apache.logging.log4j:log4j-to-slf4j:2.20.0'
//默认情况下biz目录下的依赖均为运行时依赖
api fileTree(dir: biz, include: '*.jar')
//如存在编译阶段需要依赖的jar包则可参考一下配置按需引入对应的jar包
//api fileTree(dir: biz, include: '*sdk*.jar')
//编译阶段不需要依赖的jar包则统一配置为运行时依赖
//runtimeOnly fileTree(biz) { include '*.jar' exclude '*sdk*.jar' }
api fileTree(dir: cus, include: '*.jar')
api fileTree(dir: lib, include: '*.jar')
}