File tree Expand file tree Collapse file tree 1 file changed +34
-31
lines changed Expand file tree Collapse file tree 1 file changed +34
-31
lines changed Original file line number Diff line number Diff line change @@ -9,45 +9,48 @@ project.tasks.withType(Sign.class) {
9
9
it. dependsOn(check)
10
10
}
11
11
12
- publishing {
13
- publications {
14
- jars(MavenPublication . class) {
15
- project. components. forEach {
16
- from(it)
17
- }
18
-
19
- pom {
20
- name = project. name
21
- description = project. description
22
- url = " https://developers.yubico.com/java-webauthn-server/"
12
+ // afterEvaluate needed for project.description to be set when this evaluates
13
+ project. afterEvaluate {
14
+ publishing {
15
+ publications {
16
+ jars(MavenPublication . class) {
17
+ project. components. forEach {
18
+ from(it)
19
+ }
23
20
24
- developers {
25
- developer {
26
- id = " emil"
27
- name = " Emil Lundberg"
28
-
21
+ pom {
22
+ name = project. name
23
+ description = project. description
24
+ url = " https://developers.yubico.com/java-webauthn-server/"
25
+
26
+ developers {
27
+ developer {
28
+ id = " emil"
29
+ name = " Emil Lundberg"
30
+
31
+ }
29
32
}
30
- }
31
33
32
- licenses {
33
- license {
34
- name = " BSD-license"
35
- comments = " Revised 2-clause BSD license"
34
+ licenses {
35
+ license {
36
+ name = " BSD-license"
37
+ comments = " Revised 2-clause BSD license"
38
+ }
36
39
}
37
- }
38
40
39
- scm {
40
- url = " scm:git:git://github.com/Yubico/java-webauthn-server.git"
41
- connection = " scm:git:git://github.com/Yubico/java-webauthn-server.git"
42
- developerConnection
= " scm:git:ssh://[email protected] /Yubico/java-webauthn-server.git"
43
- tag = " HEAD"
41
+ scm {
42
+ url = " scm:git:git://github.com/Yubico/java-webauthn-server.git"
43
+ connection = " scm:git:git://github.com/Yubico/java-webauthn-server.git"
44
+ developerConnection
= " scm:git:ssh://[email protected] /Yubico/java-webauthn-server.git"
45
+ tag = " HEAD"
46
+ }
44
47
}
45
48
}
46
49
}
47
50
}
48
- }
49
51
50
- signing {
51
- useGpgCmd()
52
- sign(publishing. publications. jars)
52
+ signing {
53
+ useGpgCmd()
54
+ sign(publishing. publications. jars)
55
+ }
53
56
}
You can’t perform that action at this time.
0 commit comments