-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
78 lines (66 loc) · 2.12 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
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
group = 'com.doyensec'
version = '1.0.0'
repositories {
mavenCentral()
jcenter()
}
dependencies {
testImplementation 'junit:junit:4.12'
}
jar {
manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': project.version
)
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = 'libajp13'
description = 'libajp13 is a fully featured open source library implementing the Apache JServ Protocol version 1.3 (ajp13), based on the Apache Protocol Reference. The library has been developed from Espen Wiborg\'s ajp_client. At this point, most of the code has been refactored and improved to support all AJP13 packet types.'
url = 'https://github.com/doyensec/libajp13/'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'doyensec'
name = 'Doyensec Maven'
email = 'maven@doyensec.com'
}
}
scm {
connection = 'scm:git:git://github.com/doyensec/libajp13.git'
developerConnection = 'scm:git:ssh://github.com/doyensec/libajp13.git'
url = 'https://github.com/doyensec/libajp13/'
}
}
}
}
repositories {
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = project.findProperty("ossrhUsername") ?: ""
password = project.findProperty("ossrhPassword") ?: ""
}
}
}
}
signing {
useGpgCmd()
sign publishing.publications.mavenJava
}