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)

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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("software.amazon.smithy.gradle.smithy-base:software.amazon.smithy.gradle.smithy-base.gradle.plugin:1.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("software.amazon.smithy.gradle.smithy-base")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("software.amazon.smithy.gradle.smithy-base:software.amazon.smithy.gradle.smithy-base.gradle.plugin:1.1.0")
      }
    }
    
    apply(plugin = "software.amazon.smithy.gradle.smithy-base")
  • Applying plugins to all subprojects .