Skip to content

Commit

Permalink
Update for rewrite 8.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Mar 28, 2024
1 parent 4982369 commit b0cf734
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ dependencies {
testImplementation(platform("org.junit:junit-bom:latest.release"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("org.eclipse.jgit:org.eclipse.jgit:5.13.+")
testImplementation("org.openrewrite.tools:jgit:latest.release")
testImplementation("org.openrewrite:rewrite-test")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.assertj:assertj-core:latest.release")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1190,10 +1190,10 @@ class RewriteRunTest : RewritePluginTest {

fun gitInit(repositoryPath: Path, repositoryName: String) {
try {
org.eclipse.jgit.api.Git.init().setDirectory(repositoryPath.toFile()).call().use { git ->
org.openrewrite.jgit.api.Git.init().setDirectory(repositoryPath.toFile()).call().use { git ->
//This is required for the maven and gradle plugin. This requirement needs to be removed
git.remoteSetUrl().setRemoteName("origin").setRemoteUri(
org.eclipse.jgit.transport.URIish().setHost("[email protected]").setPort(80)
org.openrewrite.jgit.transport.URIish().setHost("[email protected]").setPort(80)
.setPath("acme/$repositoryName.git")
)
.call()
Expand Down

0 comments on commit b0cf734

Please sign in to comment.