build.gradle 469 B

12345678910111213141516171819202122232425262728
  1. plugins {
  2. id 'org.springframework.boot' version '3.3.0'
  3. id 'java'
  4. }
  5. apply plugin: 'io.spring.dependency-management'
  6. group = 'com.example'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. toolchain {
  10. languageVersion = JavaLanguageVersion.of(17)
  11. }
  12. }
  13. repositories {
  14. mavenCentral()
  15. }
  16. dependencies {
  17. implementation 'org.springframework.boot:spring-boot-starter-websocket'
  18. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  19. }
  20. test {
  21. useJUnitPlatform()
  22. }