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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. buildscript {
  2. ext {
  3. set('appname', "settlew")
  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 'com.alibaba:druid-spring-boot-starter:1.2.8'
  16. implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
  17. implementation(group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0') {
  18. // exclude group: 'net.bytebuddy',module: 'byte-buddy'
  19. }
  20. implementation "com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2"
  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. implementation "org.springframework.boot:spring-boot-starter-data-redis"
  31. implementation 'com.alibaba:easyexcel:3.2.1'
  32. }
  33. bootJar {
  34. archiveFileName = "${appname}-boot.jar"
  35. mainClassName = "cn.com.taiji.${appname}.Application"
  36. }
  37. test {
  38. useJUnitPlatform()
  39. }
  40. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  41. configurations.all {
  42. // check for updates every build
  43. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  44. }
  45. apply plugin: "createProject"
  46. createProjectParam {
  47. sampleAppName "settlew"
  48. appName "settlew"
  49. projectType "app"
  50. parentProjectName "zhywpt"
  51. }