選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

build.gradle 1.4KB

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