-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
62 lines (55 loc) · 1.71 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
plugins {
kotlin("jvm") version "1.9.0"
`maven-publish`
}
group = "nl.sanderdijkhuis"
version = "0.2.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("org.bouncycastle:bcprov-jdk18on:1.76")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
java {
withJavadocJar()
withSourcesJar()
}
kotlin {
jvmToolchain(8)
}
publishing {
publications {
create<MavenPublication>("maven") {
artifactId = "hashtocurve-kotlin"
from(components["java"])
pom {
name.set("Hashing to Elliptic Curves for Kotlin")
description.set("Implementation of RFC 9380 algorithms for encoding or hashing an arbitrary " +
"byte array to a point on an elliptic curve.")
url.set("https://sanderdijkhuis.nl/2023/hashtocurve-kotlin/")
licenses {
license {
name.set("MIT License")
url.set("https://sanderdijkhuis.nl/2023/hashtocurve-kotlin/blob/main/LICENSE.md")
}
}
scm {
connection.set("scm:git:git://github.com/sander/hashtocurve-kotlin.git")
developerConnection.set("scm:git:ssh://github.com/sander/hashtocurve-kotlin.git")
url.set("https://github.com/sander/hashtocurve-kotlin")
}
developers {
developer {
id.set("sander")
name.set("Sander Dijkhuis")
email.set("mail@sanderdijkhuis.nl")
}
}
}
}
}
}