Skip to content
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
2 changes: 1 addition & 1 deletion rewrite-benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {

jmh(project(":rewrite-core"))
jmh(project(":rewrite-java"))
jmh(project(":rewrite-java-25"))
jmh(project(":rewrite-java-21"))
jmh(project(":rewrite-maven"))
jmh("org.antlr:antlr4-runtime:4.13.2")
jmh("org.rocksdb:rocksdbjni:10.2.1")
Expand Down
5 changes: 0 additions & 5 deletions rewrite-gradle-tooling-model/model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ dependencies {
testImplementation("com.fasterxml.jackson.core:jackson-databind")
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-smile")

testImplementation("org.assertj:assertj-core:3.+")
testImplementation(platform("org.junit:junit-bom:5.13.3"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
"pluginLocalTestClasspath"(project(":rewrite-gradle-tooling-model:plugin"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.io.Serializable;

@Value
public class OpenRewriteModelImpl implements Serializable {
public class OpenRewriteModelImpl implements OpenRewriteModelProxy, Serializable {
byte[] gradleProjectBytes;

byte @Nullable [] gradleSettingsBytes;
Expand Down
2 changes: 1 addition & 1 deletion rewrite-java-tck/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
if (System.getProperty("idea.active") != null ||
System.getProperty("idea.sync.active") != null) {
// so we can run tests in the IDE with the IntelliJ IDEA runner
runtimeOnly(project(":rewrite-java-25"))
runtimeOnly(project(":rewrite-java-21"))
}
}

Expand Down
4 changes: 2 additions & 2 deletions rewrite-javascript/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
testImplementation(project(":rewrite-test"))
testImplementation(project(":rewrite-yaml"))
testImplementation("io.moderne:jsonrpc:latest.integration")
testRuntimeOnly(project(":rewrite-java-25"))
testRuntimeOnly(project(":rewrite-java-21"))
}

tasks.withType<Javadoc>().configureEach {
Expand Down Expand Up @@ -176,7 +176,7 @@ testing {

dependencies {
implementation(project())
implementation(project(":rewrite-java-25"))
implementation(project(":rewrite-java-21"))
implementation(project(":rewrite-test"))
implementation(project(":rewrite-json"))
implementation(project(":rewrite-java-tck"))
Expand Down
2 changes: 1 addition & 1 deletion rewrite-maven/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
testImplementation("org.mapdb:mapdb:latest.release")

testRuntimeOnly("org.mapdb:mapdb:latest.release")
testRuntimeOnly(project(":rewrite-java-25"))
testRuntimeOnly(project(":rewrite-java-21"))
testRuntimeOnly("org.rocksdb:rocksdbjni:10.2.1")
}

Expand Down
4 changes: 1 addition & 3 deletions rewrite-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ plugins {
}

dependencies {
api(platform("org.junit:junit-bom:5.13.3"))
api(platform("org.junit:junit-bom:5.14.0"))
api(project(":rewrite-core"))
compileOnly("io.micrometer:micrometer-core:latest.release")
api("org.junit.jupiter:junit-jupiter-api")
api("org.junit.jupiter:junit-jupiter-params")
api("org.junit.platform:junit-platform-launcher")

implementation("org.assertj:assertj-core:3.+")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-csv")
Expand All @@ -17,5 +16,4 @@ dependencies {

testImplementation(project(":rewrite-groovy"))
testRuntimeOnly("org.antlr:antlr4-runtime:4.13.2")
testRuntimeOnly(project(":rewrite-java-25"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

import static java.util.Collections.emptyList;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.openrewrite.java.Assertions.java;
import static org.openrewrite.test.SourceSpecs.text;

@SuppressWarnings("UnnecessarySemicolon")
Expand Down Expand Up @@ -141,21 +140,6 @@ void allowScannerEdit() {
text("foo")
);
}

@Test
void allowNonWhitespaceInWhitespace() {
rewriteRun(
spec -> spec.typeValidationOptions(TypeValidation.all().allowNonWhitespaceInWhitespace(true)),
java(
"""
import java.util.List;;
interface A {
List<String> getList();
}
"""
)
);
}
}

@EqualsAndHashCode(callSuper = false)
Expand Down