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' 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]