File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11publishing {
22 publications {
33 mavenJava(MavenPublication ) {
4+ groupId = ' com.github.asana'
5+ artifactId = ' webpush-java-asana-fork'
6+
47 from components. java
58 artifact sourcesJar
69 artifact javadocJar
710 pom {
8- name = ' web-push '
9- description = ' A Web Push library for Java.'
10- url = ' https://github.com/web-push-libs /webpush-java'
11+ name = ' webpush-java-asana-fork '
12+ description = ' A Web Push library for Java (Asana fork) .'
13+ url = ' https://github.com/Asana /webpush-java'
1114 scm {
12- connection = ' scm:git:git@github.com:web-push-libs /webpush-java.git'
13- developerConnection = ' scm:git:git@github.com:web-push-libs /webpush-java.git'
14- url = ' git@github.com:web-push-libs /webpush-java.git'
15+ connection = ' scm:git:git@github.com:Asana /webpush-java.git'
16+ developerConnection = ' scm:git:git@github.com:Asana /webpush-java.git'
17+ url = ' git@github.com:Asana /webpush-java.git'
1518 }
1619 licenses {
1720 license {
@@ -27,28 +30,11 @@ publishing {
2730 }
2831 }
2932 }
30-
3133 }
3234 }
3335 repositories {
3436 maven {
35- credentials {
36- username ossrhUsername
37- password ossrhPassword
38- }
39- url getRepositoryUrl()
37+ url = uri(" ${ buildDir} /repo" )
4038 }
4139 }
4240}
43-
44- signing {
45- sign publishing. publications. mavenJava
46- }
47-
48- def getRepositoryUrl () {
49- if (version. endsWith(' SNAPSHOT' )) {
50- return ' https://oss.sonatype.org/content/repositories/snapshots/'
51- } else {
52- return ' https://oss.sonatype.org/service/local/staging/deploy/maven2/'
53- }
54- }
You can’t perform that action at this time.
0 commit comments