software.amazon.smithy.gradle.smithy-trait-package
Owner: Smithy
Configures a Java library package for Smithy traits, using Smithy's trait-codegen plugin to generate Java implementation of traits.
Sources: https://github.com/smithy-lang/smithy-gradle-plugin
Version 1.1.0 (latest)
Created 18 July 2024.
Configures a Java library package for Smithy traits, using Smithy's trait-codegen plugin to generate Java implementation of traits.
Add this plugin to your build using the plugins DSL:
plugins {
id("software.amazon.smithy.gradle.smithy-trait-package") version "1.1.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-trait-package:software.amazon.smithy.gradle.smithy-trait-package.gradle.plugin:1.1.0") }
It can then be applied in the precompiled script plugin:plugins { id("software.amazon.smithy.gradle.smithy-trait-package") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("software.amazon.smithy.gradle.smithy-trait-package:software.amazon.smithy.gradle.smithy-trait-package.gradle.plugin:1.1.0") } } apply(plugin = "software.amazon.smithy.gradle.smithy-trait-package")
- Applying plugins to all subprojects .