build.gradle 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * ********************************************************************************************************************
  3. *
  4. * :*$@@%$*: ;: ;; ;;
  5. * :@@%! :!@@%: %! ;%%@@%$ =@@@@@@@%; @%@@@%%%%@@@@@
  6. * :@%; :$= %%$$$%$$ ;$$ ;$@= !@$
  7. * =@! %! @ $=;% !@@@%: !$$$$$$$$$$$$$$=
  8. * =@* %! @ $= % %@= =%@! %=
  9. * *$%%! @@= ;=$%%%$*: %! @ $= % =%%%%%%@$ *%: =%
  10. * %@@!: !@@@%=$@@@@%! :*@@$: %! @ $= % $* ;@ @* :%*
  11. * ;@@! ;!!!;: ;@%: =======@%========* @ $$ % $%*****$@ :@$=*********=@$
  12. * $@* ;@@@%=!: *@*
  13. * =@$ ;;;!=%@@@@=! =@!
  14. * %@$: =@%: :*@@@* %@= Copyright (c) 2016-2019. 北京上格云技术有限公司
  15. * ;%@@$=$@@%* *@@@$=%@@%;
  16. * ::;:: ::;:: All rights reserved.
  17. *
  18. * ********************************************************************************************************************
  19. */
  20. group 'cn.sagacloud.server'
  21. version '2.0.0'
  22. buildscript {
  23. repositories {
  24. maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"}
  25. maven{url MAVEN_REPO_PUBLIC_URL}
  26. mavenCentral()
  27. jcenter()
  28. }
  29. dependencies {
  30. classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: SPRING_BOOT_VERSION
  31. classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: KOTLIN_VERSION
  32. classpath group: 'org.jetbrains.dokka', name: 'dokka-gradle-plugin', version: DOKKA_VERSION
  33. classpath group: 'com.google.protobuf', name: 'protobuf-gradle-plugin', version: PROTOBUF_GRADLE_VERSION
  34. // ssh插件, 用于部署
  35. classpath 'org.hidetake:gradle-ssh-plugin:2.10.1'
  36. }
  37. }
  38. allprojects {
  39. repositories {
  40. maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"}
  41. maven{
  42. url MAVEN_REPO_PUBLIC_URL
  43. credentials {
  44. username = NEXUS_USERNAME
  45. password = NEXUS_PASSWORD
  46. }
  47. }
  48. maven { url "https://repo.spring.io/milestone" }
  49. mavenCentral()
  50. jcenter()
  51. }
  52. tasks.withType(Javadoc) {
  53. options{ encoding "UTF-8"
  54. charSet "UTF-8"
  55. links "http://docs.oracle.com/javase/8/docs/api"
  56. }
  57. }
  58. }