You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 月之前
4 月之前
4 月之前
4 月之前
4 月之前
4 月之前
4 月之前
4 月之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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}:smp-protocol:1.0.0-SNAPSHOT"
  16. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery"
  17. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config"
  18. implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
  19. implementation "org.apache.skywalking:apm-toolkit-trace:8.8.0"
  20. implementation "org.apache.skywalking:apm-toolkit-opentracing:8.8.0"
  21. implementation "org.apache.skywalking:apm-toolkit-logback-1.x:8.8.0"
  22. // //MYSQL
  23. // runtimeOnly 'mysql:mysql-connector-java'
  24. //ORACLE+库编码问题
  25. runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.10.0.0'
  26. runtimeOnly 'cn.easyproject:orai18n:12.1.0.2.0'
  27. implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis'
  28. // 添加 MapStruct 核心库依赖
  29. implementation 'org.mapstruct:mapstruct:1.5.5.Final'
  30. // 添加 MapStruct 注解处理器依赖
  31. annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
  32. }
  33. bootJar {
  34. archiveFileName = "${appname}-boot.jar"
  35. mainClassName = "cn.com.taiji.${appname}.Application"
  36. }
  37. test {
  38. useJUnitPlatform()
  39. }
  40. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  41. configurations.all {
  42. // check for updates every build
  43. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  44. }
  45. apply plugin: "createProject"
  46. createProjectParam {
  47. sampleAppName "ias"
  48. appName "ias"
  49. projectType "service"
  50. parentProjectName "zhywpt"
  51. }