Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest.integration for rewrite-remote dependencies #172

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions rewrite-javascript-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ plugins {
}


//val latest = if (System.getenv("RELEASE_PUBLICATION") != null) "latest.release" else "latest.integration"
val latest = "latest.release";
val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"
dependencies {

compileOnly("com.google.auto.service:auto-service-annotations:1.1.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,58 +22,58 @@

class Extensions {
public static <T extends J> void sendContainer(JContainer<T> container, SenderContext ctx) {
org.openrewrite.remote.java.Extensions.sendContainer(container, ctx);
org.openrewrite.java.remote.Extensions.sendContainer(container, ctx);
}

public static <T> void sendLeftPadded(JLeftPadded<T> leftPadded, SenderContext ctx) {
org.openrewrite.remote.java.Extensions.sendLeftPadded(leftPadded, ctx);
org.openrewrite.java.remote.Extensions.sendLeftPadded(leftPadded, ctx);
}

public static <T> void sendRightPadded(JRightPadded<T> rightPadded, SenderContext ctx) {
org.openrewrite.remote.java.Extensions.sendRightPadded(rightPadded, ctx);
org.openrewrite.java.remote.Extensions.sendRightPadded(rightPadded, ctx);
}

public static void sendSpace(Space space, SenderContext ctx) {
org.openrewrite.remote.java.Extensions.sendSpace(space, ctx);
org.openrewrite.java.remote.Extensions.sendSpace(space, ctx);
}

public static void sendComment(Comment comment, SenderContext ctx) {
org.openrewrite.remote.java.Extensions.sendComment(comment, ctx);
org.openrewrite.java.remote.Extensions.sendComment(comment, ctx);
}

public static <T extends J> JContainer<T> receiveContainer(@Nullable JContainer<T> container, @Nullable Class<?> type, ReceiverContext ctx) {
return org.openrewrite.remote.java.Extensions.receiveContainer(container, type, ctx);
return org.openrewrite.java.remote.Extensions.receiveContainer(container, type, ctx);
}

public static <T> ReceiverContext.DetailsReceiver<JLeftPadded<T>> leftPaddedValueReceiver(Class<T> valueType) {
return org.openrewrite.remote.java.Extensions.leftPaddedValueReceiver(valueType);
return org.openrewrite.java.remote.Extensions.leftPaddedValueReceiver(valueType);
}

public static <T> ReceiverContext.DetailsReceiver<JLeftPadded<T>> leftPaddedNodeReceiver(Class<T> nodeType) {
return org.openrewrite.remote.java.Extensions.leftPaddedNodeReceiver(nodeType);
return org.openrewrite.java.remote.Extensions.leftPaddedNodeReceiver(nodeType);
}

public static <T extends J> JLeftPadded<T> receiveLeftPaddedTree(@Nullable JLeftPadded<T> leftPadded, @Nullable Class<?> type, ReceiverContext ctx) {
return org.openrewrite.remote.java.Extensions.receiveLeftPaddedTree(leftPadded, type, ctx);
return org.openrewrite.java.remote.Extensions.receiveLeftPaddedTree(leftPadded, type, ctx);
}

public static <T> ReceiverContext.DetailsReceiver<JRightPadded<T>> rightPaddedValueReceiver(Class<T> valueType) {
return org.openrewrite.remote.java.Extensions.rightPaddedValueReceiver(valueType);
return org.openrewrite.java.remote.Extensions.rightPaddedValueReceiver(valueType);
}

public static <T> ReceiverContext.DetailsReceiver<JRightPadded<T>> rightPaddedNodeReceiver(Class<T> nodeType) {
return org.openrewrite.remote.java.Extensions.rightPaddedNodeReceiver(nodeType);
return org.openrewrite.java.remote.Extensions.rightPaddedNodeReceiver(nodeType);
}

public static <T extends J> JRightPadded<T> receiveRightPaddedTree(@Nullable JRightPadded<T> rightPadded, @Nullable Class<?> type, ReceiverContext ctx) {
return org.openrewrite.remote.java.Extensions.receiveRightPaddedTree(rightPadded, type, ctx);
return org.openrewrite.java.remote.Extensions.receiveRightPaddedTree(rightPadded, type, ctx);
}

public static Space receiveSpace(@Nullable Space space, Class<?> type, ReceiverContext ctx) {
return org.openrewrite.remote.java.Extensions.receiveSpace(space, type, ctx);
return org.openrewrite.java.remote.Extensions.receiveSpace(space, type, ctx);
}

public static Comment receiveComment(@Nullable Comment comment, @Nullable Class<Comment> type, ReceiverContext ctx) {
return org.openrewrite.remote.java.Extensions.receiveComment(comment, type, ctx);
return org.openrewrite.java.remote.Extensions.receiveComment(comment, type, ctx);
}
}
3 changes: 1 addition & 2 deletions rewrite-javascript/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ plugins {
}


//val latest = if (System.getenv("RELEASE_PUBLICATION") != null) "latest.release" else "latest.integration"
val latest = "latest.release";
val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"
dependencies {
compileOnly("org.openrewrite:rewrite-test")

Expand Down
2 changes: 1 addition & 1 deletion rewrite-test-engine-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ application {
mainClass = "org.openrewrite.remote.java.RemotingServer"
}

val latest = if (System.getenv("RELEASE_PUBLICATION") != null) "latest.release" else "latest.integration"
val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"

dependencies {

Expand Down
Loading