Search Gradle plugins

software.amazon.smithy.gradle.smithy-base

Owner: Smithy

This plugin sets up the basic capabilities necessary for building Smithy models.Applying this plugin will create the basic source sets and configurations needed for smithyprojects. It will also create a smithy build task that will build and validate all the smithy models in the project.

https://smithy.io

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

Version 1.1.0 (latest)

1.1.0

Created 18 July 2024.

This plugin sets up the basic capabilities necessary for building Smithy models. Applying this plugin will create the basic source sets and configurations needed for Smithy projects. It will also create a smithy build task that will build and validate all the Smithy models in the project.

Using the plugins DSL:

plugins {
  id("software.amazon.smithy.gradle.smithy-base") 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-base:1.1.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects