Skip to content

Latest commit

 

History

History

custom-trait

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Example Project - Custom traits

This is an example Gradle Smithy project. In addition to serving as documentation, this project is run as an integration test for the plugin.

This project demonstrates the use of the smithy-jar gradle plugin for packaging Smithy trait definitions in a JAR alongside the Java definitions of those same custom traits.

Using the example as a starting point

Since this sample is run as an integration test, by default it is only configured to use a locally published version of the plugin. To use this as a starting point for your own project, uncomment the lines in settings.gradle.kts that configure Gradle to use public sources.