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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 "${groupname}:comm-core:1.0.0-SNAPSHOT"
  10. implementation "${groupname}:inss-protocol:1.0.0-SNAPSHOT"
  11. implementation('cn.com.taiji.common:sso-client:2.3.10.7')
  12. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery"
  13. implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config"
  14. implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
  15. implementation(group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0') {
  16. // exclude group: 'net.bytebuddy',module: 'byte-buddy'
  17. }
  18. implementation "com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2"
  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 "iasq"
  40. appName "iasq"
  41. projectType "dps"
  42. parentProjectName "zhywpt"
  43. }