-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
94 lines (80 loc) · 2.45 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
82
83
84
85
86
87
88
89
90
91
92
93
94
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'signing'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.assertj:assertj-core:3.22.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
test {
testLogging {
events "passed", "skipped", "failed"
}
afterSuite { desc, result ->
if (!desc.parent) { // will match the outermost suite
println "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
}
}
}
group = 'tech.kwik'
version = '1.0.2'
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
library(MavenPublication) {
artifactId = 'qpack'
from components.java
pom {
name = 'QPack'
description = 'Java implementation of QPack, the Header Compression for HTTP over QUIC as specified by RFC 9204'
url = 'https://github.com/ptrd/qpack'
licenses {
license {
name = 'GNU Lesser General Public License v3'
url = 'https://www.gnu.org/licenses/lgpl-3.0-standalone.html'
}
}
developers {
developer {
id = 'peterd'
name = 'Peter Doornbosch'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:[email protected]:ptrd/qpack.git'
developerConnection = 'scm:git:[email protected]:ptrd/qpack.git'
url = 'https://github.com/ptrd/qpack'
}
}
}
}
repositories {
maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = project.properties.ossrhUsername
password = project.properties.ossrhPassword
}
}
}
}
signing {
sign publishing.publications.library
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
options.addBooleanOption('html5', true)
}