aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts30
1 files changed, 30 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 00000000..17d61b48
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,30 @@
+plugins {
+ id("software.amazon.smithy").version("0.6.0")
+}
+
+buildscript {
+ dependencies {
+
+ // This dependency is required in order to apply the "openapi"
+ // plugin in smithy-build.json
+ classpath("software.amazon.smithy:smithy-openapi:1.29.0")
+ }
+}
+
+repositories {
+ mavenLocal()
+ mavenCentral()
+}
+
+dependencies {
+ implementation("software.amazon.smithy:smithy-model:1.29.0")
+ implementation("software.amazon.smithy:smithy-aws-traits:1.29.0")
+}
+
+configure<software.amazon.smithy.gradle.SmithyExtension> {
+ // Uncomment this to use a custom projection when building the JAR.
+ // projection = "foo"
+}
+
+// Uncomment to disable creating a JAR.
+//tasks["jar"].enabled = false