-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
43 lines (35 loc) · 1.13 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
43
plugins {
kotlin("jvm") version "1.9.22"
}
group = "software.momento.kotlin"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("software.momento.kotlin:sdk:0.2.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
}
kotlin {
jvmToolchain(8)
}
tasks.register<JavaExec>("basic") {
description = "Run the basic example"
classpath = sourceSets["main"].runtimeClasspath
mainClass = "software.momento.example.BasicExampleKt"
}
tasks.register<JavaExec>("docExamples") {
description = "Run the doc examples"
classpath = sourceSets["main"].runtimeClasspath
mainClass = "software.momento.example.doc_examples.DocExamplesKt"
}
tasks.register<JavaExec>("readmeExample") {
description = "Run the readme example"
classpath = sourceSets["main"].runtimeClasspath
mainClass = "software.momento.example.doc_examples.ReadmeExampleKt"
}
tasks.register<JavaExec>("cheatSheetExample") {
description = "Run the cheat sheet example"
classpath = sourceSets["main"].runtimeClasspath
mainClass = "software.momento.example.doc_examples.CheatSheetKt"
}