forked from jhug146/fourQ-lib-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
64 lines (54 loc) · 2.01 KB
/
build.gradle.kts
File metadata and controls
64 lines (54 loc) · 2.01 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
plugins {
id("java")
id("com.vanniktech.maven.publish") version "0.34.0"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
// This publishing can only occur if the local gradle.properties includes the correct secrets.
// NB: Publish with ./gradlew publishToMavenCentral --no-configuration-cache
mavenPublishing {
publishToMavenCentral()
signAllPublications()
coordinates("com.namanmalhotra", "fourQ", "1.0.3")
pom {
name.set("FourQ Library Java")
description.set("FourQlib is an efficient and portable cryptographic library that provides functions for computing elliptic curve based operations on the high-performance FourQ curve. This is a Java implementation that aims to minimize native performance lost.")
inceptionYear.set("2025")
url.set("https://github.com/malhotranaman/fourQ-lib-java")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("malhotranaman")
name.set("Naman Malhotra")
url.set("https://github.com/malhotranaman")
}
developer {
id.set("jhug146")
name.set("James Hughff")
url.set("https://github.com/jhug146")
}
}
scm {
url.set("https://github.com/malhotranaman/fourQ-lib-java")
connection.set("scm:git:git://github.com/malhotranaman/fourQ-lib-java.git")
developerConnection.set("scm:git:ssh://git@github.com/malhotranaman/fourQ-lib-java.git")
}
}
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
// BouncyCastle dependencies for the K12 HashFunction
implementation("org.bouncycastle:bcprov-jdk18on:1.81")
}
tasks.test {
useJUnitPlatform()
}