File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ publishing {
3232 if (project. name != " views-gradle" ) {
3333 from components. java
3434 }
35- // afterEvaluate {
36- // artifact source: sourcesJar, classifier: "sources"
37- // artifact source: javadocJar, classifier: "javadoc"
38- // }
3935
4036 if (isGrailsPlugin) {
4137 artifact source : " ${ project.sourceSets.main.groovy.classesDirectory.get()} /META-INF/grails-plugin.xml" ,
@@ -51,24 +47,6 @@ publishing {
5147 pom. withXml {
5248 def pomNode = asNode()
5349 pomNode. children(). last() + pomInfo
54- try {
55- pomNode. dependencyManagement. replaceNode {}
56- } catch (Throwable e) {
57- // ignore
58- }
59-
60- // simply remove dependencies without a version
61- // version-less dependencies are handled with dependencyManagement
62- // see https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/8 for more complete solutions
63- pomNode. dependencies. dependency. findAll {
64- it. version. text(). isEmpty()
65- }. each {
66- try {
67- it. replaceNode {}
68- } catch (Throwable e) {
69- // ignore
70- }
71- }
7250 }
7351 }
7452 }
You can’t perform that action at this time.
0 commit comments