-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
81 lines (65 loc) · 1.93 KB
/
build.gradle
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id("signing")
id("java-library")
id("com.github.johnrengelman.shadow") version("7.1.2")
id("com.vanniktech.maven.publish") version("0.28.0")
}
group = "org.hostile"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jsoup:jsoup:1.17.2'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'net.java.dev.jna:jna:5.14.0'
compileOnly 'org.jetbrains:annotations:24.1.0'
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
testCompileOnly 'org.projectlombok:lombok:1.18.32'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.32'
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
shadowJar {
minimize()
}
tasks.build.dependsOn(tasks.shadowJar)
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
mavenPublishing {
coordinates(group, rootProject.name, version)
pom {
name = "jtls"
description = "Java bindings for bogdanfinn's open-source Go TLS Client"
inceptionYear = "2024"
url = "https://github.com/hostile/jtls"
licenses {
license {
name = "MIT"
url = "https://opensource.org/license/MIT"
distribution = "https://opensource.org/license/MIT"
}
}
developers {
developer {
id = "george"
name = "George"
}
}
scm {
url = "https://github.com/hostile/jtls/"
connection = "scm:git:git://github.com/hostile/jtls.git"
developerConnection = "scm:git:ssh://[email protected]/hostile/jtls.git"
}
}
}
tasks.test {
useJUnitPlatform()
}
tasks.withType(Javadoc).configureEach {
failOnError false
}