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 1.1.0 (latest)

1.1.0

Created 18 July 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 "1.1.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects