Skip to content

Commit

Permalink
Move HtmlUnit migrations to rewrite-testing-frameworks (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 23, 2024
1 parent 22c6840 commit aa10760
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 210 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies {
implementation("org.openrewrite:rewrite-maven")
implementation("org.openrewrite:rewrite-yaml")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:$rewriteVersion")
implementation("org.openrewrite.recipe:rewrite-testing-frameworks:$rewriteVersion")
runtimeOnly("org.openrewrite:rewrite-java-11")

testImplementation("org.ow2.asm:asm:latest.release")
Expand Down
43 changes: 0 additions & 43 deletions src/main/resources/META-INF/rewrite/htmlunit-3.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/META-INF/rewrite/rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ recipeList:
- org.openrewrite.java.RemoveAnnotation:
# https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.52 removed Animal Sniffer
annotationPattern: "@org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement"
- org.openrewrite.jenkins.UpgradeHtmlUnit_3_3_0
- org.openrewrite.java.testing.htmlunit.UpgradeHtmlUnit_3
# https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.66 bumped htmlunit to 3.3.0
- org.openrewrite.java.dependencies.ChangeDependency:
# https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.68 bumped mockito-bom to 5.4.0,
Expand Down
166 changes: 0 additions & 166 deletions src/test/java/org/openrewrite/jenkins/UpgradeHtmlUnit_3_3_0Test.java

This file was deleted.

0 comments on commit aa10760

Please sign in to comment.