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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. buildscript {
  2. ext {
  3. set('appname', "managew")
  4. }
  5. }
  6. dependencies {
  7. implementation "${groupname}:common-core:1.0.0-SNAPSHOT"
  8. implementation "${groupname}:entity-core:1.0.0-SNAPSHOT"
  9. implementation "${groupname}:comm-core:1.0.0-SNAPSHOT"
  10. implementation "${groupname}:sample-protocol:1.0.0-SNAPSHOT"
  11. implementation "${groupname}:ats-protocol:1.0.0-SNAPSHOT"
  12. implementation('cn.com.taiji.common:sso-client:2.3.10.7')
  13. implementation "org.springframework.boot:spring-boot-starter-security"
  14. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery"
  15. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config"
  16. implementation 'com.alibaba:druid-spring-boot-starter:1.2.8'
  17. implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
  18. implementation "org.springframework.boot:spring-boot-starter-data-redis"
  19. implementation(group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0') {
  20. // exclude group: 'net.bytebuddy',module: 'byte-buddy'
  21. }
  22. implementation "com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2"
  23. // //MYSQL
  24. // runtimeOnly 'mysql:mysql-connector-java'
  25. //ORACLE+库编码问题
  26. runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.10.0.0'
  27. runtimeOnly 'cn.easyproject:orai18n:12.1.0.2.0'
  28. }
  29. bootJar {
  30. archiveFileName = "${appname}-boot.jar"
  31. mainClassName = "cn.com.taiji.${appname}.Application"
  32. }
  33. test {
  34. useJUnitPlatform()
  35. }
  36. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  37. configurations.all {
  38. // check for updates every build
  39. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  40. }
  41. apply plugin: "createProject"
  42. createProjectParam {
  43. sampleAppName "managew"
  44. appName "managew"
  45. projectType "app"
  46. parentProjectName "zhywpt"
  47. }