build.gradle 1.6 KB

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