-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpublishing.gradle
More file actions
46 lines (40 loc) · 1.13 KB
/
publishing.gradle
File metadata and controls
46 lines (40 loc) · 1.13 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
apply plugin: "com.jfrog.artifactory"
apply plugin: "de.marcphilipp.nexus-publish"
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'Trusona Server SDK for Java'
artifactId = project.name
packaging = 'jar'
description = 'The Trusona Server SDK allows simplified interaction with the Trusona API.'
url = 'https://github.com/trusona/trusona-server-sdk-java'
scm {
developerConnection = 'https://github.com/trusona/trusona-server-sdk-java.git'
url = 'https://github.com/trusona/trusona-server-sdk-java'
}
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'engineering@trusona'
name = 'Engineering @ Trusona'
email = 'engineering@trusona.com'
}
}
}
}
}
nexusPublishing {
repositories {
sonatype {
username = ossrhUsername
password = ossrhPassword
}
}
}
}