File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,6 @@ apply plugin: 'com.jfrog.bintray'
7
7
// --------------- pom configuration ---------------
8
8
9
9
def pomConfig = {
10
- description " AtomicFU utilities"
11
- url " https://github.com/Kotlin/atomicfu"
12
-
13
10
licenses {
14
11
license {
15
12
name " The Apache Software License, Version 2.0"
@@ -25,7 +22,6 @@ def pomConfig = {
25
22
organizationUrl " http://www.jetbrains.com"
26
23
}
27
24
}
28
-
29
25
scm {
30
26
url " https://github.com/Kotlin/atomicfu"
31
27
}
@@ -61,7 +57,11 @@ if (!project.name.endsWith("-native")) {
61
57
}
62
58
pom. withXml {
63
59
def root = asNode()
60
+ // NOTE: Don't try to move top-level things (especially "description") to the pomConfig block
61
+ // because they would resolve incorrectly to top-level project properties in Gradle/Groovy
64
62
root. appendNode(' name' , project. name)
63
+ root. appendNode(' description' , ' AtomicFU utilities' )
64
+ root. appendNode(' url' , ' https://github.com/Kotlin/atomicfu' )
65
65
root. children(). last() + pomConfig
66
66
}
67
67
}
You can’t perform that action at this time.
0 commit comments