diff --git a/api/build.gradle b/api/build.gradle index 535a043af..beb68f901 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -14,16 +14,16 @@ tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' } +tasks.withType(Javadoc).configureEach { + options.encoding = 'UTF-8' +} + java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } -compileJava.options.encoding = "UTF-8" -compileTestJava.options.encoding = "UTF-8" -javadoc.options.encoding = "UTF-8" - repositories { mavenCentral() maven { url 'https://repo.spring.io/milestone' } @@ -95,6 +95,8 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' testImplementation 'io.projectreactor:reactor-test' + + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } java { diff --git a/application/build.gradle b/application/build.gradle index 5ee431b68..e0bea8a00 100644 --- a/application/build.gradle +++ b/application/build.gradle @@ -91,6 +91,8 @@ dependencies { testImplementation 'org.springframework.security:spring-security-test' testImplementation 'io.projectreactor:reactor-test' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + annotationProcessor 'com.github.therapi:therapi-runtime-javadoc-scribe' // webjars diff --git a/application/src/main/resources/application.yaml b/application/src/main/resources/application.yaml index 0728a2707..789f445ca 100644 --- a/application/src/main/resources/application.yaml +++ b/application/src/main/resources/application.yaml @@ -74,8 +74,13 @@ management: include: "*" endpoint: shutdown: - enabled: true + access: unrestricted + heapdump: + access: unrestricted health: + show-details: when-authorized + show-components: when-authorized + roles: super-role probes: enabled: true info: diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7c2e553cc..e63503465 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -39,7 +39,7 @@ apache = ['apache-commons-lang3', 'apache-tika-core'] therapi = ['therapi-runtime-javadoc', 'therapi-runtime-javadoc-scribe'] [plugins] -spring-boot = 'org.springframework.boot:3.4.5' +spring-boot = 'org.springframework.boot:3.5.0' spring-dependency-management = 'io.spring.dependency-management:1.1.7' git-properties = 'com.gorylenko.gradle-git-properties:2.5.0' undercouch-download = 'de.undercouch.download:5.6.0'