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.6KB

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