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