forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (36 loc) · 1.18 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
plugins {
id("software.amazon.smithy").version("0.7.0")
id("com.diffplug.spotless").version("6.11.0")
}
repositories {
mavenCentral()
}
buildscript {
dependencies {
classpath("software.amazon.smithy:smithy-openapi:$smithyVersion")
classpath("software.amazon.smithy:smithy-openapi-traits:$smithyVersion")
classpath("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
}
}
dependencies {
implementation("software.amazon.smithy:smithy-model:$smithyVersion")
implementation("software.amazon.smithy:smithy-linters:$smithyVersion")
implementation("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
implementation("software.amazon.smithy:smithy-openapi-traits:$smithyVersion")
}
spotless {
kotlinGradle {
target("**/*.kts", "*.md", "**/*.smithy", ".gitignore")
indentWithSpaces()
endWithNewline()
trimTrailingWhitespace()
}
}