-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
64 lines (59 loc) · 1.7 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
plugins {
kotlin("jvm") version "1.9.23"
id("maven-publish")
id("signing")
id("version-catalog")
id("com.vanniktech.maven.publish") version "0.29.0"
}
group = "com.sainsburys"
version = "0.3.0"
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
testImplementation(libs.mockk)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.kotest.assertions.core)
}
tasks.test {
useJUnitPlatform()
}
publishing {
repositories {
maven("https://maven.pkg.github.com/sainsburys-tech/k2zpl") {
name = "GitHubPackages"
credentials {
password = System.getenv("GITHUB_TOKEN")
username = System.getenv("GITHUB_ACTOR")
}
}
}
}
mavenPublishing {
coordinates("com.sainsburys", "k2zpl", "0.3.0")
pom {
name.set("k2zpl")
description.set("Kotlin DSL for ZPL (Zebra Programming Language)")
inceptionYear.set("2024")
url.set("https://github.com/sainsburys-tech/k2zpl/")
licenses {
license {
name.set("MIT License")
url.set("https://github.com/sainsburys-tech/k2zpl/blob/main/LICENSE")
}
}
developers {
developer {
id.set("itsmattking")
name.set("Matt King")
url.set("https://github.com/itsmattking/")
}
}
scm {
url.set("https://github.com/sainsburys-tech/k2zpl/")
connection.set("scm:git:git://github.com/sainsburys-tech/k2zpl.git")
developerConnection.set("scm:git:ssh://[email protected]/sainsburys-tech/k2zpl.git")
}
}
}