build.gradle 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 'com.persagy.server'
  21. version '2.0.0'
  22. buildscript {
  23. repositories {
  24. maven{url MAVEN_REPO_PUBLIC_URL}
  25. maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"}
  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. }