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.

1 月之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. buildscript {
  2. ext {
  3. set('appname', "sample")
  4. }
  5. }
  6. dependencies {
  7. // implementation "cn.com.taiji.common:sso-protocol:2.3.10"
  8. implementation "${groupname}:common-core:1.0.0-SNAPSHOT"
  9. implementation "${groupname}:entity-core:1.0.0-SNAPSHOT"
  10. implementation "${groupname}:template: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-web'
  13. implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis'
  14. implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
  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. //DM
  25. //runtimeOnly 'com.dameng:jdbc8:1.8'
  26. }
  27. bootJar {
  28. archiveFileName = "${appname}-boot.jar"
  29. mainClassName = "cn.com.taiji.${appname}.SampleApplication"
  30. }
  31. test {
  32. useJUnitPlatform()
  33. }
  34. //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
  35. configurations.all {
  36. // check for updates every build
  37. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  38. }
  39. apply plugin: "createProject"
  40. createProjectParam {
  41. sampleAppName "sample"
  42. appName "manage"
  43. projectType "app"
  44. parentProjectName "gly"
  45. }