build.gradle 646 B

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.1.3'
  4. id 'io.spring.dependency-management' version '1.1.3'
  5. }
  6. group = 'com.xuqinmin.java'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. sourceCompatibility = '17'
  10. }
  11. repositories {
  12. // mavenCentral()
  13. maven {
  14. url 'http://xuqinmin.com.cn:8081/repository/maven-public/'
  15. allowInsecureProtocol true
  16. }
  17. }
  18. dependencies {
  19. implementation 'org.springframework.boot:spring-boot-starter-web'
  20. implementation 'com.rabbitmq:amqp-client'
  21. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  22. }
  23. tasks.named('test') {
  24. useJUnitPlatform()
  25. }