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

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