File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed
Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -114,29 +114,6 @@ tasks {
114114 }
115115}
116116
117- def pomConfig = {
118- licenses {
119- license {
120- name licenseName
121- url licenseUrl
122- distribution " repo"
123- }
124- }
125-
126- developers {
127- developer {
128- id maintainerId
129- name maintainer
130- email maintainerMail
131- timezone ' +1'
132- }
133- }
134-
135- scm {
136- url scmUrl
137- }
138- }
139-
140117publishing {
141118 publications {
142119 release(MavenPublication ) {
@@ -145,13 +122,36 @@ publishing {
145122 artifactId artifact
146123 artifact sourcesJar
147124 artifact javadocJar
148- pom. withXml {
149- def root = asNode()
150- root. appendNode(' description' , project. description)
151- root. appendNode(' name' , project. name)
152- root. appendNode(' url' , scmUrl)
153- root. children(). last() + pomConfig
125+ pom {
126+ name = project. name
127+ description = project. description
128+ url = scmUrl
129+ licenses {
130+ license {
131+ name = licenseName
132+ url = licenseUrl
133+ distribution = " repo"
134+ }
135+ }
136+ developers {
137+ developer {
138+ id = maintainerId
139+ name = maintainer
140+ email = maintainerMail
141+ timezone = ' +1'
142+ }
143+ }
144+ scm {
145+ connection = ' scm:git:git://github.com/dokan-dev/dokan-java.git'
146+ url = scmUrl
147+ }
154148 }
155149 }
156150 }
157151}
152+
153+ javadoc {
154+ if (JavaVersion . current(). isJava9Compatible()) {
155+ options. addBooleanOption(' html5' , true )
156+ }
157+ }
You can’t perform that action at this time.
0 commit comments