From 0ca9089034ce99f4d859f2679ce6b1532c02057e Mon Sep 17 00:00:00 2001 From: Hayden Baker Date: Thu, 2 Jan 2025 11:42:51 -0800 Subject: [PATCH] Bump version to 1.2.0 (#149) --- CHANGELOG.md | 10 ++++++++++ README.md | 6 +++--- VERSION | 2 +- .../conflicting-output-dir-configs/build.gradle.kts | 2 +- .../forbid-dependency-resolution-fork/build.gradle.kts | 2 +- .../build.gradle.kts | 2 +- .../forbid-implicit-no-build-config/build.gradle.kts | 2 +- .../base-plugin/includes-in-sourceset/build.gradle.kts | 2 +- .../output-directory-config/build.gradle.kts | 2 +- .../output-directory-with-projection/build.gradle.kts | 2 +- examples/base-plugin/output-directory/build.gradle.kts | 2 +- .../base-plugin/scans-for-cli-version/build.gradle.kts | 2 +- .../base-plugin/smithy-build-task/build.gradle.kts | 2 +- .../uses-explicitly-set-cli-version/build.gradle.kts | 2 +- examples/jar-plugin/adds-tags/build.gradle.kts | 2 +- .../build-dependencies/internal-model/build.gradle.kts | 2 +- .../build-dependencies/service/build.gradle.kts | 2 +- .../jar-plugin/custom-trait/consumer/build.gradle.kts | 2 +- .../custom-trait/custom-string-trait/build.gradle.kts | 2 +- examples/jar-plugin/disable-jar/build.gradle.kts | 2 +- .../failure-cases/invalid-projection/build.gradle.kts | 2 +- .../missing-runtime-dependency/build.gradle.kts | 2 +- .../jar-plugin/kotlin-jvm-project/build.gradle.kts | 2 +- .../jar-plugin/multi-project/consumer/build.gradle.kts | 2 +- examples/jar-plugin/multiple-jars/build.gradle.kts | 2 +- examples/jar-plugin/multiple-sources/build.gradle.kts | 2 +- examples/jar-plugin/no-models/build.gradle.kts | 2 +- examples/jar-plugin/projection/build.gradle.kts | 2 +- .../jar-plugin/projects-with-tags/build.gradle.kts | 2 +- examples/jar-plugin/scala-project/build.gradle.kts | 2 +- examples/jar-plugin/source-projection/build.gradle.kts | 2 +- .../create-simple-trait/build.gradle.kts | 2 +- .../use-with-existing-trait/build.gradle.kts | 2 +- 33 files changed, 44 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c975768..79e209c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Smithy Gradle Plugin Changelog +## 1.2.0 (2025-01-02) + +### Features +* Updated minimum severity of validation events in `validate` task to `DANGER`. ([#148](https://github.com/smithy-lang/smithy-gradle-plugin/pull/148)) + +### Documentation +* Added documentation and examples for using the `smithy-trait-package` plugin. ([#146](https://github.com/smithy-lang/smithy-gradle-plugin/pull/146)) + + + ## 1.1.0 (2024-07-16) ### Features diff --git a/README.md b/README.md index d759b9f..d6453f6 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ This plugin can be applied to a project as follows: ```kotlin // build.gradle.kts plugins { - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } ``` However, no tasks will be created unless. @@ -90,7 +90,7 @@ The `smithy-jar` plugin must be used with another plugin that creates a `jar` ta // build.gradle.kts plugins { id("java-library") // creates jar task - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } ``` @@ -111,7 +111,7 @@ The `smithy-trait-package` plugin can be applied on its own to easily configure ```kotlin // build.gradle.kts plugins { - id("software.amazon.smithy.gradle.smithy-trait-package").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-trait-package").version("1.2.0") } ``` diff --git a/VERSION b/VERSION index 9084fa2..26aaba0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 +1.2.0 diff --git a/examples/base-plugin/failure-cases/conflicting-output-dir-configs/build.gradle.kts b/examples/base-plugin/failure-cases/conflicting-output-dir-configs/build.gradle.kts index 2213647..5265089 100644 --- a/examples/base-plugin/failure-cases/conflicting-output-dir-configs/build.gradle.kts +++ b/examples/base-plugin/failure-cases/conflicting-output-dir-configs/build.gradle.kts @@ -3,7 +3,7 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/failure-cases/forbid-dependency-resolution-fork/build.gradle.kts b/examples/base-plugin/failure-cases/forbid-dependency-resolution-fork/build.gradle.kts index 75f6c7f..5a93bce 100644 --- a/examples/base-plugin/failure-cases/forbid-dependency-resolution-fork/build.gradle.kts +++ b/examples/base-plugin/failure-cases/forbid-dependency-resolution-fork/build.gradle.kts @@ -4,7 +4,7 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/failure-cases/forbid-dependency-resolution-no-fork/build.gradle.kts b/examples/base-plugin/failure-cases/forbid-dependency-resolution-no-fork/build.gradle.kts index 0f47100..077ad15 100644 --- a/examples/base-plugin/failure-cases/forbid-dependency-resolution-no-fork/build.gradle.kts +++ b/examples/base-plugin/failure-cases/forbid-dependency-resolution-no-fork/build.gradle.kts @@ -3,7 +3,7 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/failure-cases/forbid-implicit-no-build-config/build.gradle.kts b/examples/base-plugin/failure-cases/forbid-implicit-no-build-config/build.gradle.kts index 7e059a0..6e1b6a9 100644 --- a/examples/base-plugin/failure-cases/forbid-implicit-no-build-config/build.gradle.kts +++ b/examples/base-plugin/failure-cases/forbid-implicit-no-build-config/build.gradle.kts @@ -1,6 +1,6 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/includes-in-sourceset/build.gradle.kts b/examples/base-plugin/includes-in-sourceset/build.gradle.kts index efe9ca0..57c34cd 100644 --- a/examples/base-plugin/includes-in-sourceset/build.gradle.kts +++ b/examples/base-plugin/includes-in-sourceset/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } sourceSets { diff --git a/examples/base-plugin/output-directory-config/build.gradle.kts b/examples/base-plugin/output-directory-config/build.gradle.kts index 6c52c71..c3381ef 100644 --- a/examples/base-plugin/output-directory-config/build.gradle.kts +++ b/examples/base-plugin/output-directory-config/build.gradle.kts @@ -4,7 +4,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/output-directory-with-projection/build.gradle.kts b/examples/base-plugin/output-directory-with-projection/build.gradle.kts index 1e92927..55e6d3d 100644 --- a/examples/base-plugin/output-directory-with-projection/build.gradle.kts +++ b/examples/base-plugin/output-directory-with-projection/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } diff --git a/examples/base-plugin/output-directory/build.gradle.kts b/examples/base-plugin/output-directory/build.gradle.kts index 9e2ea06..2277670 100644 --- a/examples/base-plugin/output-directory/build.gradle.kts +++ b/examples/base-plugin/output-directory/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/scans-for-cli-version/build.gradle.kts b/examples/base-plugin/scans-for-cli-version/build.gradle.kts index 947e244..ac2f409 100644 --- a/examples/base-plugin/scans-for-cli-version/build.gradle.kts +++ b/examples/base-plugin/scans-for-cli-version/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } repositories { diff --git a/examples/base-plugin/smithy-build-task/build.gradle.kts b/examples/base-plugin/smithy-build-task/build.gradle.kts index 33c620c..a8faaed 100644 --- a/examples/base-plugin/smithy-build-task/build.gradle.kts +++ b/examples/base-plugin/smithy-build-task/build.gradle.kts @@ -6,7 +6,7 @@ import software.amazon.smithy.gradle.tasks.SmithyBuildTask // and the classpath used when building. plugins { - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } val doIt = tasks.register("doit") { diff --git a/examples/base-plugin/uses-explicitly-set-cli-version/build.gradle.kts b/examples/base-plugin/uses-explicitly-set-cli-version/build.gradle.kts index 7815517..a3c212f 100644 --- a/examples/base-plugin/uses-explicitly-set-cli-version/build.gradle.kts +++ b/examples/base-plugin/uses-explicitly-set-cli-version/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-base").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-base").version("1.2.0") } dependencies { diff --git a/examples/jar-plugin/adds-tags/build.gradle.kts b/examples/jar-plugin/adds-tags/build.gradle.kts index e5dccf2..768de89 100644 --- a/examples/jar-plugin/adds-tags/build.gradle.kts +++ b/examples/jar-plugin/adds-tags/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } group = "software.amazon.smithy" diff --git a/examples/jar-plugin/build-dependencies/internal-model/build.gradle.kts b/examples/jar-plugin/build-dependencies/internal-model/build.gradle.kts index 57c3b8f..bba618d 100644 --- a/examples/jar-plugin/build-dependencies/internal-model/build.gradle.kts +++ b/examples/jar-plugin/build-dependencies/internal-model/build.gradle.kts @@ -2,7 +2,7 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/build-dependencies/service/build.gradle.kts b/examples/jar-plugin/build-dependencies/service/build.gradle.kts index 1be083b..917d102 100644 --- a/examples/jar-plugin/build-dependencies/service/build.gradle.kts +++ b/examples/jar-plugin/build-dependencies/service/build.gradle.kts @@ -2,7 +2,7 @@ plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/custom-trait/consumer/build.gradle.kts b/examples/jar-plugin/custom-trait/consumer/build.gradle.kts index 47bb962..dfa6def 100644 --- a/examples/jar-plugin/custom-trait/consumer/build.gradle.kts +++ b/examples/jar-plugin/custom-trait/consumer/build.gradle.kts @@ -1,6 +1,6 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } diff --git a/examples/jar-plugin/custom-trait/custom-string-trait/build.gradle.kts b/examples/jar-plugin/custom-trait/custom-string-trait/build.gradle.kts index 6731707..37036d1 100644 --- a/examples/jar-plugin/custom-trait/custom-string-trait/build.gradle.kts +++ b/examples/jar-plugin/custom-trait/custom-string-trait/build.gradle.kts @@ -1,7 +1,7 @@ // This package defines a custom trait for use in other models plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/disable-jar/build.gradle.kts b/examples/jar-plugin/disable-jar/build.gradle.kts index 3363134..b6744e9 100644 --- a/examples/jar-plugin/disable-jar/build.gradle.kts +++ b/examples/jar-plugin/disable-jar/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/failure-cases/invalid-projection/build.gradle.kts b/examples/jar-plugin/failure-cases/invalid-projection/build.gradle.kts index f055702..0830913 100644 --- a/examples/jar-plugin/failure-cases/invalid-projection/build.gradle.kts +++ b/examples/jar-plugin/failure-cases/invalid-projection/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/failure-cases/missing-runtime-dependency/build.gradle.kts b/examples/jar-plugin/failure-cases/missing-runtime-dependency/build.gradle.kts index af4a0bf..04692a2 100644 --- a/examples/jar-plugin/failure-cases/missing-runtime-dependency/build.gradle.kts +++ b/examples/jar-plugin/failure-cases/missing-runtime-dependency/build.gradle.kts @@ -5,7 +5,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/kotlin-jvm-project/build.gradle.kts b/examples/jar-plugin/kotlin-jvm-project/build.gradle.kts index 69004b5..1675eea 100644 --- a/examples/jar-plugin/kotlin-jvm-project/build.gradle.kts +++ b/examples/jar-plugin/kotlin-jvm-project/build.gradle.kts @@ -2,7 +2,7 @@ plugins { kotlin("jvm") version "1.9.23" - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/multi-project/consumer/build.gradle.kts b/examples/jar-plugin/multi-project/consumer/build.gradle.kts index b9eac52..2efd63a 100644 --- a/examples/jar-plugin/multi-project/consumer/build.gradle.kts +++ b/examples/jar-plugin/multi-project/consumer/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } dependencies { diff --git a/examples/jar-plugin/multiple-jars/build.gradle.kts b/examples/jar-plugin/multiple-jars/build.gradle.kts index b000d67..e48d407 100644 --- a/examples/jar-plugin/multiple-jars/build.gradle.kts +++ b/examples/jar-plugin/multiple-jars/build.gradle.kts @@ -7,7 +7,7 @@ import software.amazon.smithy.gradle.tasks.SmithyJarStagingTask plugins { `java-library` - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } val buildTask: SmithyBuildTask = tasks.getByName("smithyBuild") diff --git a/examples/jar-plugin/multiple-sources/build.gradle.kts b/examples/jar-plugin/multiple-sources/build.gradle.kts index f0eb52a..3349fae 100644 --- a/examples/jar-plugin/multiple-sources/build.gradle.kts +++ b/examples/jar-plugin/multiple-sources/build.gradle.kts @@ -5,7 +5,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/no-models/build.gradle.kts b/examples/jar-plugin/no-models/build.gradle.kts index 7838e67..7c978aa 100644 --- a/examples/jar-plugin/no-models/build.gradle.kts +++ b/examples/jar-plugin/no-models/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } group = "software.amazon.smithy" diff --git a/examples/jar-plugin/projection/build.gradle.kts b/examples/jar-plugin/projection/build.gradle.kts index eecea47..8638d9d 100644 --- a/examples/jar-plugin/projection/build.gradle.kts +++ b/examples/jar-plugin/projection/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/projects-with-tags/build.gradle.kts b/examples/jar-plugin/projects-with-tags/build.gradle.kts index af15a17..b51abc4 100644 --- a/examples/jar-plugin/projects-with-tags/build.gradle.kts +++ b/examples/jar-plugin/projects-with-tags/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/jar-plugin/scala-project/build.gradle.kts b/examples/jar-plugin/scala-project/build.gradle.kts index 0888e95..a3ac9e5 100644 --- a/examples/jar-plugin/scala-project/build.gradle.kts +++ b/examples/jar-plugin/scala-project/build.gradle.kts @@ -2,7 +2,7 @@ plugins { scala - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } dependencies { diff --git a/examples/jar-plugin/source-projection/build.gradle.kts b/examples/jar-plugin/source-projection/build.gradle.kts index 677aeac..1a4f24c 100644 --- a/examples/jar-plugin/source-projection/build.gradle.kts +++ b/examples/jar-plugin/source-projection/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java-library") - id("software.amazon.smithy.gradle.smithy-jar").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-jar").version("1.2.0") } repositories { diff --git a/examples/trait-package-plugin/create-simple-trait/build.gradle.kts b/examples/trait-package-plugin/create-simple-trait/build.gradle.kts index cd357cd..69e7f0f 100644 --- a/examples/trait-package-plugin/create-simple-trait/build.gradle.kts +++ b/examples/trait-package-plugin/create-simple-trait/build.gradle.kts @@ -1,7 +1,7 @@ description = "Custom Smithy structure trait with multiple inputs" plugins { - id("software.amazon.smithy.gradle.smithy-trait-package").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-trait-package").version("1.2.0") } group = "software.amazon.smithy" diff --git a/examples/trait-package-plugin/use-with-existing-trait/build.gradle.kts b/examples/trait-package-plugin/use-with-existing-trait/build.gradle.kts index 285bfcb..5d43bec 100644 --- a/examples/trait-package-plugin/use-with-existing-trait/build.gradle.kts +++ b/examples/trait-package-plugin/use-with-existing-trait/build.gradle.kts @@ -1,7 +1,7 @@ description = "Use existing, hand-written Java trait definition alongside generated trait definitions." plugins { - id("software.amazon.smithy.gradle.smithy-trait-package").version("1.1.0") + id("software.amazon.smithy.gradle.smithy-trait-package").version("1.2.0") } group = "software.amazon.smithy"