Search Gradle plugins

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.

https://smithy.io

Sources: https://github.com/smithy-lang/smithy-gradle-plugin

Version 1.1.0 (latest)

1.1.0

Created 18 July 2024.

Configures a Java library package for Smithy traits, using Smithy's trait-codegen plugin to generate Java implementation of traits.

Using the plugins DSL:

plugins {
  id("software.amazon.smithy.gradle.smithy-trait-package") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("software.amazon.smithy.gradle:smithy-trait-package:1.1.0")
  }
}

apply(plugin = "software.amazon.smithy.gradle.smithy-trait-package")

Using the plugins DSL:

plugins {
  id "software.amazon.smithy.gradle.smithy-trait-package" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "software.amazon.smithy.gradle:smithy-trait-package:1.1.0"
  }
}

apply plugin: "software.amazon.smithy.gradle.smithy-trait-package"

Learn how to apply plugins to subprojects