Skip to content

Commit 30d5ab7

Browse files
committed
Revert removing afterEvaluate in maven-publish plugin config.
1 parent 03962c2 commit 30d5ab7

File tree

1 file changed

+30
-28
lines changed

1 file changed

+30
-28
lines changed

gradle/publish-maven.gradle

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,42 @@ publishing {
1313
fromResolutionResult()
1414
}
1515
}
16-
pom {
17-
name = project.name
18-
description = project.description
19-
url = 'http://github.com/SimY4/xpath-to-xml'
20-
inceptionYear = '2017'
16+
afterEvaluate { project ->
17+
pom {
18+
name = project.name
19+
description = project.description
20+
url = 'http://github.com/SimY4/xpath-to-xml'
21+
inceptionYear = '2017'
2122

22-
properties = [
23-
'info.releaseNotesURL': 'https://github.com/SimY4/xpath-to-xml/releases',
24-
'info.versionScheme': 'semver-spec'
25-
]
23+
properties = [
24+
'info.releaseNotesURL': 'https://github.com/SimY4/xpath-to-xml/releases',
25+
'info.versionScheme': 'semver-spec'
26+
]
2627

27-
scm {
28-
connection = 'scm:git:https://github.com/SimY4/xpath-to-xml'
29-
developerConnection = 'scm:git:https://github.com/SimY4/xpath-to-xml'
30-
url = 'http://github.com/SimY4/xpath-to-xml'
31-
}
28+
scm {
29+
connection = 'scm:git:https://github.com/SimY4/xpath-to-xml'
30+
developerConnection = 'scm:git:https://github.com/SimY4/xpath-to-xml'
31+
url = 'http://github.com/SimY4/xpath-to-xml'
32+
}
3233

33-
issueManagement {
34-
system = 'GitHub'
35-
url = 'https://github.com/SimY4/xpath-to-xml/issues'
36-
}
34+
issueManagement {
35+
system = 'GitHub'
36+
url = 'https://github.com/SimY4/xpath-to-xml/issues'
37+
}
3738

38-
licenses {
39-
license {
40-
name = 'The Apache License, Version 2.0'
41-
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
39+
licenses {
40+
license {
41+
name = 'The Apache License, Version 2.0'
42+
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
43+
}
4244
}
43-
}
4445

45-
developers {
46-
developer {
47-
id = 'SimY4'
48-
name = 'Alex Simkin'
49-
url = 'http://github.com/SimY4'
46+
developers {
47+
developer {
48+
id = 'SimY4'
49+
name = 'Alex Simkin'
50+
url = 'http://github.com/SimY4'
51+
}
5052
}
5153
}
5254
}

0 commit comments

Comments
 (0)