您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 1.5KB

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