build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. maven {
  5. allowInsecureProtocol = true
  6. url "http://maven.aliyun.com/nexus/content/groups/public" }
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
  11. }
  12. }
  13. version = "1.0.3"
  14. apply plugin: "$bootGroup"
  15. apply plugin: "io.spring.dependency-management"
  16. dependencies {
  17. implementation fileTree(dir: "src/main/lib", include: "*.jar")
  18. implementation project(":common:utils")
  19. implementation("$bootGroup:spring-boot-starter-web")
  20. implementation("$bootGroup:spring-boot-starter-undertow")
  21. implementation("$bootGroup:spring-boot-starter-websocket")
  22. implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
  23. implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
  24. implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
  25. implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
  26. // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
  27. implementation ("com.alibaba:druid:$alibabaDruidVersion")
  28. implementation ("com.alibaba:fastjson:$fastjsonVersion")
  29. implementation "com.baomidou:mybatis-plus-boot-starter:3.1.1"
  30. implementation "com.baomidou:mybatis-plus-generator:3.1.1"
  31. implementation("$bootGroup:spring-boot-starter-test")
  32. implementation "com.xuxueli:xxl-job-core:2.3.0"
  33. }