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.

build.gradle 1.8KB

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