diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b3328..4be76a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Smithy Gradle Plugin Changelog +## 1.0.0 (2024-03-26) + +### Features +* Added `SmithySelectTask` to enable use of `select` command within Gradle projects ([#135](https://github.com/smithy-lang/smithy-gradle-plugin/pull/135)) +* Merged the`SmithyBaseTask` with the `AbstractSmithyCliTask` to remove unecessary indirection ([#134](https://github.com/smithy-lang/smithy-gradle-plugin/pull/134)) +* Refactored the `SmithyValidateTask` task to be under the `smithy-base` plugin to enable the use of the validation task outside of `smithy-jar` task ([#133](https://github.com/smithy-lang/smithy-gradle-plugin/pull/133)) +* Added a severity option to the `validate` task to allow setting a minimum severity to print. ([#131](https://github.com/smithy-lang/smithy-gradle-plugin/pull/131)) +* Added an exception on implicit empty smithy-build config. ([#123](https://github.com/smithy-lang/smithy-gradle-plugin/pull/123), [#128](https://github.com/smithy-lang/smithy-gradle-plugin/pull/128)) +* Made the `smithyCli` configuration visible to enable pinning of the CLI version. ([#130](https://github.com/smithy-lang/smithy-gradle-plugin/pull/130)) + +### Bug Fixes +* Added a quiet flag to smithy CLI commands when gradle quiet flag is set to stop printing validation events when quieted. ([#132](https://github.com/smithy-lang/smithy-gradle-plugin/pull/132)) + + ## 0.10.1 (2024-03-12) ### Features diff --git a/README.md b/README.md index 59a6797..49a2272 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ This plugin can be applied to a project as follows: ```kotlin // build.gradle.kts plugins { - id("software.amazon.smithy.gradle.smithy-base").version("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.0") } ``` However, no tasks will be created unless. @@ -72,7 +72,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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } ``` diff --git a/VERSION b/VERSION index 5712157..3eefcb9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.1 +1.0.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 642754b..bcaea63 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 31da576..4bc620d 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 ccf1792..692f457 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 f7f4aa9..2db8b85 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 460b17b..3955936 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 66314bb..488dabf 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 c017399..2a7d2d9 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.0") } diff --git a/examples/base-plugin/output-directory/build.gradle.kts b/examples/base-plugin/output-directory/build.gradle.kts index d026729..d3065c8 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 b921a18..bb5a897 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.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 da84ab2..63e5535 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.0") } tasks.create("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 e4f8ebd..77e7d96 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-base").version("1.0.0") } dependencies { diff --git a/examples/jar-plugin/adds-tags/build.gradle.kts b/examples/jar-plugin/adds-tags/build.gradle.kts index cd30cb7..75fa773 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 c4464c1..3bae0d1 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 9eb3f56..9fdf958 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 3c97272..6df8a43 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 b4165d6..e6b48d9 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } repositories { diff --git a/examples/jar-plugin/disable-jar/build.gradle.kts b/examples/jar-plugin/disable-jar/build.gradle.kts index a497a51..8e451b6 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 aa00632..fc52e40 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 9ca007c..13ad193 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 200077b..ee658d8 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.0" - id("software.amazon.smithy.gradle.smithy-jar").version("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 422a392..28055b5 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } dependencies { diff --git a/examples/jar-plugin/multiple-jars/build.gradle.kts b/examples/jar-plugin/multiple-jars/build.gradle.kts index 1dd2aac..2eac2cc 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 933ec8a..66cb59b 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } repositories { diff --git a/examples/jar-plugin/no-models/build.gradle.kts b/examples/jar-plugin/no-models/build.gradle.kts index 0ee7733..763a0e4 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } group = "software.amazon.smithy" diff --git a/examples/jar-plugin/projection/build.gradle.kts b/examples/jar-plugin/projection/build.gradle.kts index b79760b..ec59ce4 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.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 8d4c777..77f5104 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } repositories { diff --git a/examples/jar-plugin/scala-project/build.gradle.kts b/examples/jar-plugin/scala-project/build.gradle.kts index a630d29..41e80d1 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } dependencies { diff --git a/examples/jar-plugin/source-projection/build.gradle.kts b/examples/jar-plugin/source-projection/build.gradle.kts index 15abd2c..f564c67 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("0.10.1") + id("software.amazon.smithy.gradle.smithy-jar").version("1.0.0") } repositories {