File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -59,3 +59,53 @@ artifacts {
59
59
signing {
60
60
sign configurations. archives
61
61
}
62
+
63
+ uploadArchives {
64
+ repositories {
65
+ mavenDeployer {
66
+ beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
67
+
68
+ repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
69
+ authentication(userName : ossrhUsername, password : ossrhPassword)
70
+ }
71
+
72
+ snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots/" ) {
73
+ authentication(userName : ossrhUsername, password : ossrhPassword)
74
+ }
75
+
76
+ pom. project {
77
+ name ' Java Hamcrest'
78
+ packaging ' jar'
79
+ description ' Hamcrest matcher library for Java'
80
+ url ' http://hamcrest.org/JavaHamcrest/'
81
+
82
+ scm {
83
+ connection ' git@github.com:hamcrest/JavaHamcrest.git'
84
+ url ' https://github.com/hamcrest/JavaHamcrest'
85
+ }
86
+
87
+ licenses {
88
+ license {
89
+ name ' BSD Licence 3'
90
+ url ' http://opensource.org/licenses/BSD-3-Clause'
91
+ }
92
+ }
93
+
94
+ developers {
95
+ developer {
96
+ id ' joewalnes'
97
+ name ' Joe Walnes'
98
+ }
99
+ developer {
100
+ id ' npryce'
101
+ name ' Nat Pryce'
102
+ }
103
+ developer {
104
+ id ' sf105'
105
+ name ' Steve Freeman'
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
You can’t perform that action at this time.
0 commit comments