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

build.gradle 1.8KB

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