Repository navigation
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
67 lines (60 loc) · 2.03 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
67 lines (60 loc) · 2.03 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
//kotlin("jvm") version "1.7.10"
kotlin("multiplatform") version "1.7.10"
kotlin("plugin.allopen") version "1.7.10"
kotlin("plugin.serialization") version "1.7.10"
`maven-publish`
}
repositories {
mavenCentral()
mavenLocal()
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ProgramGrader/dynamodb-priority-queue")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
group = "bbs"
version = project.findProperty("version")!!
description = "priority queue"
//java.sourceCompatibility = JavaVersion.VERSION_1_8
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = "1.8"
}
withJava()
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
//TODO add quarkus tests to project
// TODO example tests with deploying library into projects as well
sourceSets {
val jvmMain by getting{
dependencies {
implementation("com.amazonaws:aws-java-sdk-lambda:1.12.364")
implementation("io.quarkiverse.amazonservices:quarkus-amazon-dynamodb:1.4.0")
implementation("io.quarkiverse.amazonservices:quarkus-amazon-dynamodb-enhanced:1.4.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("software.amazon.awssdk:url-connection-client:2.19.19")
}
}
val jvmTest by getting {
dependencies {
// implementation("io.rest-assured:rest-assured")
implementation("io.kotest:kotest-runner-junit5:5.5.4")
// implementation("io.quarkus:quarkus-junit5")
implementation("org.jetbrains.kotlin:kotlin-test:1.8.0-RC")
}
}
}
}