build.gradle 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 rootProject.group
  21. version rootProject.version
  22. apply plugin: "kotlin"
  23. apply plugin: "org.jetbrains.dokka"
  24. apply plugin: "maven"
  25. sourceCompatibility = JVM_TARGET
  26. compileKotlin {
  27. kotlinOptions.jvmTarget = JVM_TARGET
  28. }
  29. compileTestKotlin {
  30. kotlinOptions.jvmTarget = JVM_TARGET
  31. }
  32. dependencies {
  33. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  34. // kotlin 依赖
  35. compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: KOTLIN_VERSION
  36. compile group: "org.jetbrains.kotlin", name: "kotlin-reflect", version: KOTLIN_VERSION
  37. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  38. // spring boot 依赖
  39. compile group: "org.springframework.boot", name: "spring-boot-starter-web", version: SPRING_BOOT_VERSION
  40. compile group: "org.springframework.boot", name: "spring-boot-starter-logging", version: SPRING_BOOT_VERSION
  41. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  42. // RESTful API 文档生成工具
  43. // https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
  44. compile group: "io.springfox", name: "springfox-swagger-ui", version: SWAGGER_VERSION
  45. compile group: "io.springfox", name: "springfox-swagger2", version: SWAGGER_VERSION
  46. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  47. // Sybotan依赖
  48. // compile group: "com.sybotan", name: "sybotan-kotlin-base", version: SYBOTAN_KOTLIN_VERSION
  49. // compile group: "com.sybotan", name: "sybotan-kotlin-database", version: SYBOTAN_KOTLIN_VERSION
  50. // compile group: "com.sybotan", name: "sybotan-kotlin-mybatis", version: SYBOTAN_KOTLIN_VERSION
  51. // compile group: "com.sybotan", name: "sybotan-service-base", version: SYBOTAN_SERVICE_VERSION
  52. // compile group: "com.sybotan", name: "sybotan-service-mybatis", version: SYBOTAN_SERVICE_VERSION
  53. compile group: "cn.sagacloud", name: "saga-kotlin-base", version: SAGA_KOTLIN_VERSION
  54. compile group: "cn.sagacloud", name: "saga-kotlin-database", version: SAGA_KOTLIN_VERSION
  55. compile group: "cn.sagacloud", name: "saga-kotlin-mybatis", version: SAGA_KOTLIN_VERSION
  56. compile group: "cn.sagacloud", name: "saga-service-base", version: SAGA_SERVICE_VERSION
  57. compile group: "cn.sagacloud", name: "saga-service-mybatis", version: SAGA_SERVICE_VERSION
  58. //Gson
  59. compile 'com.google.code.gson:gson:2.8.0'
  60. }