diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index b2158603..9202d5e9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,10 +12,7 @@ jobs: strategy: matrix: - java-version: - - 17 - - 21 - - 22 + java-version: [17, 21, 22, 23] permissions: checks: write diff --git a/README.md b/README.md index 565827d1..1b74b193 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![build](https://github.com/jkatzwinkel/tla-es/workflows/build/badge.svg) ![deploy](https://github.com/jkatzwinkel/tla-es/workflows/deploy/badge.svg) ![search](https://github.com/jkatzwinkel/tla-es/workflows/searchtest/badge.svg) -![LINE](https://img.shields.io/badge/line--coverage-82.38%25-brightgreen.svg) +![LINE](https://img.shields.io/badge/line--coverage-82.14%25-brightgreen.svg) ![METHOD](https://img.shields.io/badge/method--coverage-81.84%25-brightgreen.svg) # tla-es diff --git a/build.gradle b/build.gradle index 5d61809a..1cd8e7f4 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { id 'maven-publish' id 'de.undercouch.download' version '5.6.0' id 'com.adarshr.test-logger' version '4.0.0' - id 'org.springframework.boot' version '3.4.0-M2' + id 'org.springframework.boot' version '3.4.0-M3' id 'org.barfuin.gradle.jacocolog' version '3.1.0' id 'com.github.ben-manes.versions' version '0.51.0' id 'com.github.dawnwords.jacoco.badge' version '0.2.4' @@ -46,13 +46,13 @@ dependencies { implementation 'org.apache.commons:commons-compress:1.27.1' implementation 'org.yaml:snakeyaml:2.3' - implementation 'org.springframework.boot:spring-boot-starter-tomcat:3.4.0-M2' - implementation 'org.springframework.boot:spring-boot-autoconfigure:3.4.0-M2' + implementation 'org.springframework.boot:spring-boot-starter-tomcat:3.4.0-M3' + implementation 'org.springframework.boot:spring-boot-autoconfigure:3.4.0-M3' implementation 'org.springframework.data:spring-data-elasticsearch:5.3.3' implementation 'org.springframework:spring-webmvc:6.2.0-RC1' - implementation 'org.springframework.boot:spring-boot-starter-logging:3.4.0-M2' + implementation 'org.springframework.boot:spring-boot-starter-logging:3.4.0-M3' - testImplementation('org.springframework.boot:spring-boot-starter-test:3.4.0-M2') { + testImplementation('org.springframework.boot:spring-boot-starter-test:3.4.0-M3') { exclude group: 'org.xmlunit', module: 'xmlunit-core' exclude group: 'jakarta.xml.bind' } diff --git a/src/main/java/tla/backend/App.java b/src/main/java/tla/backend/App.java index 7db00d74..d9b0b011 100644 --- a/src/main/java/tla/backend/App.java +++ b/src/main/java/tla/backend/App.java @@ -12,13 +12,16 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; +import org.springframework.data.web.config.EnableSpringDataWebSupport; import lombok.extern.slf4j.Slf4j; import tla.backend.es.repo.RepoPopulator; + @Slf4j @Configuration @ComponentScan +@EnableSpringDataWebSupport @EnableAutoConfiguration(exclude = { ElasticsearchDataAutoConfiguration.class }) public class App implements ApplicationRunner {