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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. buildscript {
  2. ext {
  3. set('appname', "bls")
  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}:bls-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. // 添加 MapStruct 核心库依赖
  25. implementation 'org.mapstruct:mapstruct:1.5.5.Final'
  26. // 添加 MapStruct 注解处理器依赖
  27. annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
  28. }
  29. bootJar {
  30. archiveFileName = "${appname}-boot.jar"
  31. mainClassName = "cn.com.taiji.${appname}.Application"
  32. }
  33. test {
  34. useJUnitPlatform()
  35. }
  36. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  37. configurations.all {
  38. // check for updates every build
  39. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  40. }
  41. apply plugin: "createProject"
  42. createProjectParam {
  43. sampleAppName "bls"
  44. appName "bls"
  45. projectType "service"
  46. parentProjectName "zhywpt"
  47. }