-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
87 lines (77 loc) · 2.6 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
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
group = 'io.opentracing.contrib'
version = '0.1.3'
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
api 'org.eclipse.microprofile.opentracing:microprofile-opentracing-api:1.1'
implementation 'javax:javaee-api:7.0'
implementation 'io.opentracing:opentracing-api:0.33.0'
implementation 'io.opentracing.contrib:opentracing-tracerresolver:0.1.8'
testCompile 'junit:junit:4.12'
testImplementation 'io.opentracing:opentracing-mock:0.33.0'
testImplementation 'org.apache.tomee:openejb-core:7.1.0'
}
java {
withJavadocJar()
withSourcesJar()
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = 'OpenTracing Jakarta EE Interceptors'
description = 'OpenTracing Contrib - Framework instrumentation for Jakarta EE Interceptors'
url = 'https://github.com/opentracing-contrib/java-interceptors'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'jpkroehling'
name = 'Juraci Paixão Kröhling'
email = 'jpkroehling+opentracing-contrib-java-interceptors@redhat.com'
}
}
scm {
connection = 'scm:git:git://github.com/opentracing-contrib/java-interceptors.git'
developerConnection = 'scm:git:ssh://git@github.com:opentracing-contrib/java-interceptors.git'
url = 'https://github.com/opentracing-contrib/java-interceptors'
}
}
}
}
repositories {
maven {
name = "OSSRH"
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = findProperty("sonatypeUsername")
password = findProperty("sonatypePassword")
}
}
}
}
signing {
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}