Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

build.gradle 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. buildscript {
  2. ext {
  3. set('appname', "ias")
  4. }
  5. }
  6. group = 'cn.com.taiji'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '11'
  9. dependencies {
  10. implementation "${groupname}:common-core:1.0.0-SNAPSHOT"
  11. implementation "${groupname}:entity-core:1.0.0-SNAPSHOT"
  12. implementation "${groupname}:comm-core:1.0.0-SNAPSHOT"
  13. implementation "${groupname}:sample-protocol:1.0.0-SNAPSHOT"
  14. implementation "${groupname}:ias-protocol:1.0.0-SNAPSHOT"
  15. implementation "${groupname}:ifmw-protocol:1.0.0-SNAPSHOT"
  16. implementation "${groupname}:ats-protocol:1.0.0-SNAPSHOT"
  17. implementation "${groupname}:ods-protocol:1.0.0-SNAPSHOT"
  18. implementation "${groupname}:ats-protocol:1.0.0-SNAPSHOT"
  19. implementation "${groupname}:smp-protocol:1.0.0-SNAPSHOT"
  20. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery"
  21. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config"
  22. implementation 'com.alibaba:druid-spring-boot-starter:1.2.8'
  23. implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
  24. implementation "org.springframework.boot:spring-boot-starter-data-redis"
  25. implementation "com.alibaba:easyexcel:3.2.1"
  26. implementation group: 'org.xsocket', name: 'xSocket', version: '2.8.15'
  27. implementation "org.redisson:redisson-spring-boot-starter:3.14.0"
  28. implementation 'com.txffp.ucore:sso-protocol:1.0'
  29. implementation 'com.txffp.ucore:usp-protocol:1.0'
  30. implementation 'com.txffp.iss:iss-protocol:1.1'
  31. implementation 'com.txffp.iss:iss-client:1.1'
  32. implementation 'cn.com.taiji.tccore:comm-client:1.0'
  33. implementation 'com.txffp.ucore:comm-core:1.0'
  34. //定时器相关
  35. implementation 'org.springframework.boot:spring-boot-starter-quartz'
  36. implementation(group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0') {
  37. // exclude group: 'net.bytebuddy',module: 'byte-buddy'
  38. }
  39. implementation "com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2"
  40. implementation fileTree(dir: 'libs', include: ['*/*.jar'])
  41. // //MYSQL
  42. // runtimeOnly 'mysql:mysql-connector-java'
  43. //ORACLE+库编码问题
  44. runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.10.0.0'
  45. runtimeOnly 'cn.easyproject:orai18n:12.1.0.2.0'
  46. // 添加 MapStruct 核心库依赖
  47. implementation 'org.mapstruct:mapstruct:1.5.5.Final'
  48. // 添加 MapStruct 注解处理器依赖
  49. annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
  50. }
  51. bootJar {
  52. archiveFileName = "${appname}-boot.jar"
  53. mainClassName = "cn.com.taiji.${appname}.Application"
  54. }
  55. test {
  56. useJUnitPlatform()
  57. }
  58. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  59. configurations.all {
  60. // check for updates every build
  61. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  62. }
  63. apply plugin: "createProject"
  64. createProjectParam {
  65. sampleAppName "ias"
  66. appName "ias"
  67. projectType "service"
  68. parentProjectName "zhywpt"
  69. }