You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
578 B

2 months ago
  1. plugins {
  2. java
  3. id("org.springframework.boot") version "3.4.6"
  4. id("io.spring.dependency-management") version "1.1.7"
  5. }
  6. group = "com.iflytop"
  7. version = "0.0.1-SNAPSHOT"
  8. java {
  9. toolchain {
  10. languageVersion = JavaLanguageVersion.of(21)
  11. }
  12. }
  13. repositories {
  14. mavenCentral()
  15. }
  16. dependencies {
  17. implementation("org.springframework.boot:spring-boot-starter")
  18. testImplementation("org.springframework.boot:spring-boot-starter-test")
  19. testRuntimeOnly("org.junit.platform:junit-platform-launcher")
  20. }
  21. tasks.withType<Test> {
  22. useJUnitPlatform()
  23. }