From 97d61e57b13e8c9a5e0825fd15b54d033cc44cfb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 12:10:22 +0000 Subject: [PATCH 1/2] Bump com.diffplug.spotless:spotless-plugin-gradle from 6.18.0 to 6.23.3 Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.18.0 to 6.23.3. - [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md) - [Commits](https://github.com/diffplug/spotless/compare/gradle/6.18.0...gradle/6.23.3) --- updated-dependencies: - dependency-name: com.diffplug.spotless:spotless-plugin-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- buildSrc/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 7f900bb8..6df972bb 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -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") } From 4a90359f617d6a884fdbe714964799e92cd821ab Mon Sep 17 00:00:00 2001 From: Michael Kutz Date: Tue, 19 Dec 2023 10:35:22 +0100 Subject: [PATCH 2/2] Fix formatting --- manual/src/test/java/FactDocTest.java | 3 +++ manual/src/test/java/GroupingInteractionsDocTest.java | 1 + manual/src/test/java/RetrofitDocTest.java | 2 ++ manual/src/test/java/TaskDocTest.java | 2 ++ 4 files changed, 8 insertions(+) diff --git a/manual/src/test/java/FactDocTest.java b/manual/src/test/java/FactDocTest.java index de2da25d..75f2a3b7 100644 --- a/manual/src/test/java/FactDocTest.java +++ b/manual/src/test/java/FactDocTest.java @@ -31,6 +31,7 @@ void act1() { // tag::fact[] record PhoneNumber(String number) implements Fact {} + // end::fact[] @Test @@ -49,6 +50,7 @@ void act2() { // tag::poly-fact[] record PhoneNumbers(String home, String work) implements Fact {} + // end::poly-fact[] @Test @@ -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[] diff --git a/manual/src/test/java/GroupingInteractionsDocTest.java b/manual/src/test/java/GroupingInteractionsDocTest.java index c4e7dab3..7adc1b8d 100644 --- a/manual/src/test/java/GroupingInteractionsDocTest.java +++ b/manual/src/test/java/GroupingInteractionsDocTest.java @@ -107,6 +107,7 @@ public String toString() { return String.format("login as %s", username); } } + // end::task[] static // tag::question[] diff --git a/manual/src/test/java/RetrofitDocTest.java b/manual/src/test/java/RetrofitDocTest.java index 8a7d6e61..5926f742 100644 --- a/manual/src/test/java/RetrofitDocTest.java +++ b/manual/src/test/java/RetrofitDocTest.java @@ -35,6 +35,7 @@ interface ActorsApi { @GET("/actors/{id}/name") Call getActorName(@Path("id") String id); } + // end::test-api[] // tag::scalars-example[] @@ -56,6 +57,7 @@ public String answerAs(Actor actor) { } } } + // end::scalars-example[] @Test diff --git a/manual/src/test/java/TaskDocTest.java b/manual/src/test/java/TaskDocTest.java index af93d1f3..61c41b3d 100644 --- a/manual/src/test/java/TaskDocTest.java +++ b/manual/src/test/java/TaskDocTest.java @@ -49,6 +49,7 @@ public void performAs(Actor actor) { logger.info("Hello World"); } } + // end::task[] static // tag::task-with-parameter[] @@ -66,6 +67,7 @@ public void performAs(Actor actor) { logger.info(String.format("Hello %s", to)); } } + // end::task-with-parameter[] // tag::task-as-record[]