Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 1.2.0 #149

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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")
}
```

Expand All @@ -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")
}
```

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}


Expand Down
2 changes: 1 addition & 1 deletion examples/base-plugin/output-directory/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/base-plugin/smithy-build-task/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<SmithyBuildTask>("doit") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/adds-tags/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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")
}


Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/disable-jar/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/kotlin-jvm-project/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/multiple-jars/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<SmithyBuildTask>("smithyBuild")
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/multiple-sources/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/no-models/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/projection/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/projects-with-tags/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/scala-project/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/jar-plugin/source-projection/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading