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.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.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects