Skip to content

Commit 461e30f

Browse files
committed
Add JsonView to PluginClasspathGradleBuild
1 parent baf596d commit 461e30f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/PluginClasspathGradleBuild.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.util.Arrays;
2222
import java.util.List;
2323

24+
import com.fasterxml.jackson.annotation.JsonView;
2425
import com.fasterxml.jackson.core.Versioned;
2526
import com.fasterxml.jackson.databind.Module;
2627
import com.fasterxml.jackson.module.paramnames.ParameterNamesModule;
@@ -83,7 +84,7 @@ private List<File> pluginClasspath() {
8384
new File(pathOfJarContaining(HttpClientConnectionManager.class)),
8485
new File(pathOfJarContaining(HttpRequest.class)),
8586
new File(pathOfJarContaining(HttpVersionPolicy.class)), new File(pathOfJarContaining(Module.class)),
86-
new File(pathOfJarContaining(Versioned.class)),
87+
new File(pathOfJarContaining(Versioned.class)), new File(pathOfJarContaining(JsonView.class)),
8788
new File(pathOfJarContaining(ParameterNamesModule.class)),
8889
new File(pathOfJarContaining("com.github.openjson.JSONObject")),
8990
new File(pathOfJarContaining(Platform.class)), new File(pathOfJarContaining(Toml.class)),

0 commit comments

Comments
 (0)