generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
25 lines (19 loc) · 783 Bytes
/
build.gradle.kts
File metadata and controls
25 lines (19 loc) · 783 Bytes
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
plugins {
id("java-library")
}
// The test project doesn't produce a JAR.
tasks["jar"].enabled = false
tasks.named<Test>("test") {
useJUnitPlatform()
systemProperty("buildFolder",
gradle.includedBuild("tutorial").projectDir.resolve("service").resolve("build").absolutePath)
}
tasks["test"].dependsOn(gradle.includedBuild("tutorial").task(":service:build"))
dependencies {
val smithyVersion: String by project
testImplementation("software.amazon.smithy:smithy-model:$smithyVersion")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.1")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.12.1")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.12.1")
testImplementation("org.hamcrest:hamcrest:3.0")
}