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

Bump com.diffplug.spotless:spotless-plugin-gradle from 6.18.0 to 6.23.3 #302

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 buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ repositories { gradlePluginPortal() }

dependencies {
implementation("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.15.0")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.18.0")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.23.3")
}
3 changes: 3 additions & 0 deletions manual/src/test/java/FactDocTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ void act1() {

// tag::fact[]
record PhoneNumber(String number) implements Fact {}

// end::fact[]

@Test
Expand All @@ -49,6 +50,7 @@ void act2() {

// tag::poly-fact[]
record PhoneNumbers(String home, String work) implements Fact {}

// end::poly-fact[]

@Test
Expand All @@ -69,6 +71,7 @@ record CreditCard(String type, String number, YearMonth expiration) implements F
public static CreditCard DEFAULT_VISA =
new CreditCard("visa", "4111111111111111", YearMonth.of(2026, 10));
}

// end::fact-with-default[]

// tag::fact-with-generator[]
Expand Down
1 change: 1 addition & 0 deletions manual/src/test/java/GroupingInteractionsDocTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public String toString() {
return String.format("login as %s", username);
}
}

// end::task[]

static // tag::question[]
Expand Down
2 changes: 2 additions & 0 deletions manual/src/test/java/RetrofitDocTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ interface ActorsApi {
@GET("/actors/{id}/name")
Call<String> getActorName(@Path("id") String id);
}

// end::test-api[]

// tag::scalars-example[]
Expand All @@ -56,6 +57,7 @@ public String answerAs(Actor actor) {
}
}
}

// end::scalars-example[]

@Test
Expand Down
2 changes: 2 additions & 0 deletions manual/src/test/java/TaskDocTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public void performAs(Actor actor) {
logger.info("Hello World");
}
}

// end::task[]

static // tag::task-with-parameter[]
Expand All @@ -66,6 +67,7 @@ public void performAs(Actor actor) {
logger.info(String.format("Hello %s", to));
}
}

// end::task-with-parameter[]

// tag::task-as-record[]
Expand Down