build.gradle 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * ********************************************************************************************************************
  3. *
  4. * iFHS7.
  5. * ;BBMBMBMc rZMBMBR BMB
  6. * MBEr:;PBM, 7MBMMEOBB: BBB RBW
  7. * XK: BO SB. :SZ MBM. c;; ir BBM :FFr :SSF: ;xBMB:r iuGXv. i:. iF2;
  8. * DBBM0r. :D S7 ;XMBMB GMBMu. MBM: BMB MBMBBBMBMS WMBMBMBBK MBMBMBM BMBRBMBW .MBMBMBMBB
  9. * :JMRMMD .. , 1MMRM1; ;MBMBBR: MBM ;MB: BMB: MBM. RMBr sBMH BM0 UMB, BMB. KMBv
  10. * ;. XOW B1; :uM: 1RE, i .2BMBs rMB. MBO MBO JMB; MBB MBM BBS 7MBMBOBM: MBW :BMc
  11. * OBRJ.SEE MRDOWOR, 3DE:7OBM . ;BMB RMR7BM BMB MBB. BMB ,BMR .BBZ MMB rMB, BMM rMB7
  12. * :FBRO0D0 RKXSXPR. JOKOOMPi BMBSSWBMB; BMBB: MBMB0ZMBMS .BMBOXRBMB MBMDE RBM2;SMBM; MBB xBM2
  13. * iZGE O0SHSPO. uGZ7. sBMBMBDL :BMO OZu:BMBK, rRBMB0; ,EBMB xBMBr:ER. RDU :OO;
  14. * ,BZ, 1D0 RPSFHXR. xWZ .SMr . .BBB
  15. * :0BMRDG RESSSKR. 2WOMBW; BMBMR
  16. * i0BM: SWKHKGO MBDv
  17. * .UB OOGDM. MK, Copyright (c) 2015-2019. 斯伯坦机器人
  18. * , XMW ..
  19. * r All rights reserved.
  20. *
  21. * ********************************************************************************************************************
  22. */
  23. group 'com.sybotan'
  24. version SYBOTAN_SERVICE_VERSION
  25. buildscript {
  26. repositories {
  27. maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"}
  28. mavenCentral()
  29. jcenter()
  30. }
  31. dependencies {
  32. classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: SPRING_BOOT_VERSION
  33. classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: KOTLIN_VERSION
  34. classpath group: 'org.jetbrains.dokka', name: 'dokka-gradle-plugin', version: DOKKA_VERSION
  35. }
  36. }
  37. allprojects {
  38. repositories {
  39. maven{url MAVEN_REPO_PUBLIC_URL}
  40. maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"}
  41. maven { url "https://repo.spring.io/milestone" }
  42. mavenCentral()
  43. jcenter()
  44. }
  45. tasks.withType(Javadoc) {
  46. options{ encoding "UTF-8"
  47. charSet "UTF-8"
  48. links "http://docs.oracle.com/javase/8/docs/api"
  49. }
  50. }
  51. }
  52. task SybotanDokka(type: org.jetbrains.dokka.gradle.DokkaTask) {
  53. jdkVersion = 8
  54. outputFormat = "javadoc"
  55. outputDirectory = "$buildDir/javadoc"
  56. sourceDirs = files(
  57. "$projectDir/../sybotan-kotlin/sybotan-kotlin-base/src/main/kotlin",
  58. "$projectDir/../sybotan-kotlin/sybotan-kotlin-excel/src/main/kotlin",
  59. "$projectDir/../sybotan-kotlin/sybotan-kotlin-database/src/main/kotlin",
  60. "$projectDir/../sybotan-kotlin/sybotan-kotlin-mybatis/src/main/kotlin",
  61. "$projectDir/../sybotan-kotlin/sybotan-kotlin-postgresql/src/main/kotlin",
  62. "sybotan-service-base/src/main/kotlin",
  63. "sybotan-service-models/src/main/kotlin",
  64. "sybotan-service-mybatis/src/main/kotlin"
  65. )
  66. }
  67. task clean(type: Delete) {
  68. delete rootProject.buildDir
  69. }