Owner:
Smithy
Adds built Smithy files to an existing jar task such as that createdby the Java or Kotlin plugins. The smithy-jar plugin also adds build metadataand tags to the JAR's MANIFEST. The smithy-jar plugin applies the smithy-baseplugin when it is applied.
Sources: https://github.com/smithy-lang/smithy-gradle-plugin
Version 0.8.0
Created 23 August 2023.
Adds built Smithy files to an existing jar task such as that createdby the Java or Kotlin plugins. The smithy-jar plugin also adds build metadataand tags to the JAR's MANIFEST. The smithy-jar plugin applies the smithy-baseplugin when it is applied.
Add this plugin to your build using the plugins DSL:
plugins {
id("software.amazon.smithy.gradle.smithy-jar") version "0.8.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("software.amazon.smithy.gradle.smithy-jar:software.amazon.smithy.gradle.smithy-jar.gradle.plugin:0.8.0") }It can then be applied in the precompiled script plugin:plugins { id("software.amazon.smithy.gradle.smithy-jar") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("software.amazon.smithy.gradle.smithy-jar:software.amazon.smithy.gradle.smithy-jar.gradle.plugin:0.8.0") } } apply(plugin = "software.amazon.smithy.gradle.smithy-jar") - Applying plugins to all subprojects .