@@ -34,35 +34,37 @@ publishing {
3434    publications.withType<MavenPublication > {
3535        artifact(javadocJar.get())
3636
37-         pom {
38-             name.set(project.name)
39-             description.set(project.description)
40-             url.set(" http://rsocket.io"  )
37+         afterEvaluate {
38+             pom {
39+                 name.set(project.name)
40+                 description.set(project.description)
41+                 url.set(" http://rsocket.io"  )
4142
42-             licenses {
43-                 license {
44-                     name.set(" The Apache Software License, Version 2.0"  )
45-                     url.set(" https://www.apache.org/licenses/LICENSE-2.0.txt"  )
46-                     distribution.set(" repo"  )
43+                 licenses {
44+                     license {
45+                         name.set(" The Apache Software License, Version 2.0"  )
46+                         url.set(" https://www.apache.org/licenses/LICENSE-2.0.txt"  )
47+                         distribution.set(" repo"  )
48+                     }
4749                }
48-             }
49-             developers {
50-                 developer {
51-                     id.set(" whyoleg"  )
52-                     name.set(" Oleg Yukhnevich"  )
53- 50+                 developers {
51+                     developer {
52+                         id.set(" whyoleg"  )
53+                         name.set(" Oleg Yukhnevich"  )
54+ 55+                     }
56+                     developer {
57+                         id.set(" OlegDokuka"  )
58+                         name.set(" Oleh Dokuka"  )
59+ 60+                     }
5461                }
55-                 developer  {
56-                     id .set(" OlegDokuka "  )
57-                     name .set(" Oleh Dokuka "  )
58-                     email .set(" oleh.dokuka@icloud. com"  )
62+                 scm  {
63+                     connection .set(" https://github.com/rsocket/rsocket-kotlin.git "  )
64+                     developerConnection .set(" https://github.com/rsocket/rsocket-kotlin.git "  )
65+                     url .set(" https://github. com/rsocket/rsocket-kotlin "  )
5966                }
6067            }
61-             scm {
62-                 connection.set(" https://github.com/rsocket/rsocket-kotlin.git"  )
63-                 developerConnection.set(" https://github.com/rsocket/rsocket-kotlin.git"  )
64-                 url.set(" https://github.com/rsocket/rsocket-kotlin"  )
65-             }
6668        }
6769    }
6870
0 commit comments