Skip to content

Commit

Permalink
Fix last few type attribution errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Oct 31, 2023
1 parent e9ccdaa commit 5f178fa
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ recipeDependencies {

parserClasspath("org.springframework.security:spring-security-config:5.8.+")
parserClasspath("org.springframework.security:spring-security-crypto:5.8.+")
parserClasspath("org.springframework.security:spring-security-oauth2-client:5.8.+")
parserClasspath("org.springframework.security:spring-security-web:5.8.+")

parserClasspath("org.springframework.security:spring-security-config:6.0.+")
Expand All @@ -103,7 +104,7 @@ recipeDependencies {
// parserClasspath("org.springframework.cloud:spring-cloud-sleuth-brave:3.1.+")

parserClasspath("com.nimbusds:nimbus-jose-jwt:9.13")
parserClasspath("net.minidev:json-smart")
parserClasspath("net.minidev:json-smart:2.4.+")
}

val rewriteVersion = rewriteRecipe.rewriteVersion.get()
Expand Down Expand Up @@ -237,8 +238,9 @@ dependencies {
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework:spring-webflux:5.3.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-core:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-config:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-web:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-oauth2-client:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-ldap:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.springframework.security:spring-security-web:5.8.+")
"testWithSpringSecurity_5_8RuntimeOnly"("org.apache.tomcat.embed:tomcat-embed-core:9.0.+")
"testWithSpringSecurity_5_8RuntimeOnly"("com.nimbusds:nimbus-jose-jwt:9.13")
"testWithSpringSecurity_5_8RuntimeOnly"("net.minidev:json-smart")
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void defaults(RecipeSpec spec) {
spec.recipe(new RemoveOauth2LoginConfig())
.parser(JavaParser.fromJavaVersion()
.logCompilationWarningsAndErrors(true)
.classpathFromResources(new InMemoryExecutionContext(), "spring-context-5.3.+", "spring-beans-5.3.+", "spring-web-5.3.+", "spring-security-web-5.8.+", "spring-security-config-5.8.+"));
.classpathFromResources(new InMemoryExecutionContext(), "spring-context-5.3.+", "spring-beans-5.3.+", "spring-web-5.3.+", "spring-security-web-5.8.+", "spring-security-config-5.8.+", "spring-security-oauth2-client-5.8.+"));
}

@DocumentExample
Expand Down

0 comments on commit 5f178fa

Please sign in to comment.