forked from awsdocs/aws-doc-sdk-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
46 lines (37 loc) · 1.1 KB
/
build.gradle.kts
File metadata and controls
46 lines (37 loc) · 1.1 KB
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
43
44
45
46
plugins {
kotlin("jvm") version "2.1.10"
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.10"
id("org.jlleitschuh.gradle.ktlint") version "12.1.1"
application
}
group = "com.example.bedrockruntime"
version = "1.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
val awsSdkVersion = "1.5.63"
val junitVersion = "5.12.0"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:bedrockruntime:$awsSdkVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.8.0")
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
testImplementation("org.jetbrains.kotlin:kotlin-reflect")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
kotlin {
jvmToolchain(17)
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
application {
mainClass.set("com.example.bedrockruntime.InvokeModelKt")
}