-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
65 lines (55 loc) · 1.74 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import com.vanniktech.maven.publish.SonatypeHost
import com.vanniktech.maven.publish.KotlinJvm
plugins {
kotlin("jvm") version "2.0.0"
id("jacoco")
id("com.vanniktech.maven.publish") version "0.29.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("reflect"))
api("software.amazon.awssdk:dynamodb-enhanced:2.21.26")
testImplementation(kotlin("test"))
testImplementation("io.kotest:kotest-assertions-core-jvm:5.6.2")
testImplementation("org.http4k:http4k-connect-amazon-dynamodb-fake:5.5.0.1")
}
tasks.test {
useJUnitPlatform()
}
tasks.jacocoTestReport {
reports {
xml.required.set(true)
html.required.set(true)
}
}
mavenPublishing {
configure(KotlinJvm(sourcesJar = true))
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
signAllPublications()
coordinates("dev.andrewohara", "dynamokt", "1.0.0")
pom {
name.set("DynamoDb Kotlin Module")
description.set("Kotlin Module for the dynamodb-enhanced SDk")
inceptionYear.set("2021")
url.set("https://github.com/oharaandrew314/dynamodb-kotlin-module")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("oharaandrew314")
name.set("Andrew O'Hara")
url.set("https://github.com/oharaandrew314")
}
}
scm {
url.set("https://github.com/oharaandrew314/dynamodb-kotlin-module")
}
}
}