Search Gradle plugins

software.amazon.smithy.gradle.smithy-jar

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.

https://smithy.io

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

Version 0.10.0 (latest)

Created 06 February 2024.

Adds built Smithy files to an existing jar task such as that created by the Java or Kotlin plugins. The smithy-jar plugin also adds build metadata and tags to the JAR's MANIFEST. The smithy-jar plugin applies the smithy-base plugin when it is applied.

Using the plugins DSL:

plugins {
  id("software.amazon.smithy.gradle.smithy-jar") version "0.10.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "software.amazon.smithy.gradle.smithy-jar" version "0.10.0"
}

Using legacy plugin application:

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

apply plugin: "software.amazon.smithy.gradle.smithy-jar"

Learn how to apply plugins to subprojects