From 0baf902c0fffa729b2e02296addddedfef8370f5 Mon Sep 17 00:00:00 2001 From: Iwan Eising Date: Mon, 3 Aug 2026 21:34:14 +0400 Subject: [PATCH 1/2] fix(example-shadow-api-detector): bump with-shadow-apis plugin version to 0.4.0 What changed:\n- Updated examples/shadow-api-detector/with-shadow-apis/gradle/libs.versions.toml\n- Changed the shadow-api-detector version reference from 0.3.0 to 0.4.0\n\nWhy:\n- The example should consume the latest released plugin behavior used elsewhere in this update set\n- Keeping the example on 0.3.0 could hide newer report behavior and create inconsistent results between examples\n\nHow:\n- The version alias in the example's version catalog was advanced to 0.4.0\n- No task wiring or runtime semantics were changed beyond selecting the newer plugin artifact\n\nConstraints and caveats:\n- This commit intentionally updates only the with-shadow-apis example catalog to keep the change isolated\n\nOutcome:\n- The remaining dirty file is committed as its own logical unit, separate from the OpenAPI 3.2 disclaimer code changes. --- .../with-shadow-apis/gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shadow-api-detector/with-shadow-apis/gradle/libs.versions.toml b/examples/shadow-api-detector/with-shadow-apis/gradle/libs.versions.toml index c7935d7..729683d 100644 --- a/examples/shadow-api-detector/with-shadow-apis/gradle/libs.versions.toml +++ b/examples/shadow-api-detector/with-shadow-apis/gradle/libs.versions.toml @@ -6,7 +6,7 @@ shadow-api-detector = { id = "com.arc-e-tect.shadow-api-detector", version.ref = [versions] -shadow-api-detector = "0.3.0" +shadow-api-detector = "0.4.0" spring-web = "7.0.8" [libraries] From 38953fae4b167b7046df4ade7f45e7575a9516a6 Mon Sep 17 00:00:00 2001 From: Iwan Eising Date: Mon, 3 Aug 2026 21:38:40 +0400 Subject: [PATCH 2/2] fix(example-shadow-api-detector): use published plugin artifacts across examples What changed:\n- Removed local composite-build plugin wiring from examples/shadow-api-detector/openapi-3-2/settings.gradle\n- Updated shadow-api-detector plugin version to 0.4.0 in:\n - examples/shadow-api-detector/clean/gradle/libs.versions.toml\n - examples/shadow-api-detector/multi-file-openapi/gradle/libs.versions.toml\n - examples/shadow-api-detector/openapi-3-2/gradle/libs.versions.toml\n- Updated examples/shadow-api-detector/openapi-3-2/README.adoc to document that it uses the official published plugin release\n\nWhy:\n- Examples should validate the public plugin as consumers use it, not local uncommitted source code\n- Local includeBuild wiring can mask publication-state differences and make behavior appear available before release\n\nHow:\n- Switched the OpenAPI 3.2 example from includeBuild-based plugin resolution to Gradle Plugin Portal resolution\n- Standardized shadow-api-detector example version catalogs on 0.4.0 for consistent behavior across examples\n\nSide effects and constraints:\n- Example behavior now reflects published plugin capabilities only\n- Future feature verification in examples requires released plugin versions unless local wiring is intentionally reintroduced\n\nOutcome:\n- OpenAPI 3.2 example continues to run successfully with ./gradlew clean detectShadowApis using published artifacts. --- examples/shadow-api-detector/clean/gradle/libs.versions.toml | 2 +- .../multi-file-openapi/gradle/libs.versions.toml | 2 +- examples/shadow-api-detector/openapi-3-2/README.adoc | 2 +- .../shadow-api-detector/openapi-3-2/gradle/libs.versions.toml | 2 +- examples/shadow-api-detector/openapi-3-2/settings.gradle | 3 --- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/shadow-api-detector/clean/gradle/libs.versions.toml b/examples/shadow-api-detector/clean/gradle/libs.versions.toml index c7935d7..729683d 100644 --- a/examples/shadow-api-detector/clean/gradle/libs.versions.toml +++ b/examples/shadow-api-detector/clean/gradle/libs.versions.toml @@ -6,7 +6,7 @@ shadow-api-detector = { id = "com.arc-e-tect.shadow-api-detector", version.ref = [versions] -shadow-api-detector = "0.3.0" +shadow-api-detector = "0.4.0" spring-web = "7.0.8" [libraries] diff --git a/examples/shadow-api-detector/multi-file-openapi/gradle/libs.versions.toml b/examples/shadow-api-detector/multi-file-openapi/gradle/libs.versions.toml index c7935d7..729683d 100644 --- a/examples/shadow-api-detector/multi-file-openapi/gradle/libs.versions.toml +++ b/examples/shadow-api-detector/multi-file-openapi/gradle/libs.versions.toml @@ -6,7 +6,7 @@ shadow-api-detector = { id = "com.arc-e-tect.shadow-api-detector", version.ref = [versions] -shadow-api-detector = "0.3.0" +shadow-api-detector = "0.4.0" spring-web = "7.0.8" [libraries] diff --git a/examples/shadow-api-detector/openapi-3-2/README.adoc b/examples/shadow-api-detector/openapi-3-2/README.adoc index 48df82c..72a1c83 100644 --- a/examples/shadow-api-detector/openapi-3-2/README.adoc +++ b/examples/shadow-api-detector/openapi-3-2/README.adoc @@ -4,7 +4,7 @@ == Description This example applies the Shadow API Detector plugin to a small `LibraryController` whose every endpoint is described in an OpenAPI 3.2 root document. -The example resolves the plugin from the local repository source via `includeBuild('../../../shadow-api-detector')` so it always validates the current in-repo implementation. +The example resolves the plugin from the official Gradle Plugin Portal release configured in `gradle/libs.versions.toml`. == Intent diff --git a/examples/shadow-api-detector/openapi-3-2/gradle/libs.versions.toml b/examples/shadow-api-detector/openapi-3-2/gradle/libs.versions.toml index c7935d7..729683d 100644 --- a/examples/shadow-api-detector/openapi-3-2/gradle/libs.versions.toml +++ b/examples/shadow-api-detector/openapi-3-2/gradle/libs.versions.toml @@ -6,7 +6,7 @@ shadow-api-detector = { id = "com.arc-e-tect.shadow-api-detector", version.ref = [versions] -shadow-api-detector = "0.3.0" +shadow-api-detector = "0.4.0" spring-web = "7.0.8" [libraries] diff --git a/examples/shadow-api-detector/openapi-3-2/settings.gradle b/examples/shadow-api-detector/openapi-3-2/settings.gradle index 3172603..332ccd0 100644 --- a/examples/shadow-api-detector/openapi-3-2/settings.gradle +++ b/examples/shadow-api-detector/openapi-3-2/settings.gradle @@ -1,5 +1,4 @@ pluginManagement { - includeBuild('../../../shadow-api-detector') repositories { gradlePluginPortal() } @@ -16,6 +15,4 @@ refreshVersions { } } -includeBuild('../../../shadow-api-detector') - rootProject.name = 'shadow-api-detector-openapi-3-2-example'