/*
 * 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: 2025-04-14 11:39:48
 */

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' }

	runtimeOnly fileTree(dir: cus, include: '*.jar')
	
	api fileTree(dir: lib, include: '*.jar')
}