Skip to content

Commit

Permalink
Updates for Spring Boot 3.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed Dec 24, 2024
1 parent 7bf07ad commit b3f5422
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import org.gradle.api.Project
import org.gradle.api.tasks.SourceSet
import org.gradle.api.tasks.SourceSetContainer
import org.gradle.api.tasks.testing.Test
import org.gradle.internal.classpath.Instrumented.systemProperty
import org.gradle.internal.fingerprint.classpath.impl.ClasspathFingerprintingStrategy.compileClasspath
import org.gradle.internal.fingerprint.classpath.impl.ClasspathFingerprintingStrategy.runtimeClasspath
import org.gradle.internal.impldep.org.jsoup.nodes.Document.OutputSettings.Syntax.html
import org.gradle.internal.impldep.org.junit.experimental.categories.Categories.CategoryFilter.exclude
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.get
import org.gradle.kotlin.dsl.named
Expand Down Expand Up @@ -54,7 +59,7 @@ class ClassPathPlugin : Plugin<Project> {
}
}

project.tasks.create("integrationTest", Test::class.java) {
project.tasks.register("integrationTest", Test::class.java) {
testClassesDirs = getByName("integrationTest").output.classesDirs
classpath = getByName("integrationTest").runtimeClasspath
val profiles = System.getProperty("spring.profiles.active", System.getenv("SPRING_PROFILES_ACTIVE"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AlfrescoClient(

else -> throw RuntimeException("Failed to download document. Alfresco responded with ${res.statusCode}.")
}
}, false)
}, false) ?: throw NotFoundException("Document content", "alfrescoId", id)

private fun HttpHeaders.copy(key: String, res: ConvertibleClientHttpResponse) {
res.headers[key]?.also { this[key] = it }
Expand Down

0 comments on commit b3f5422

Please sign in to comment.