File tree Expand file tree Collapse file tree 1 file changed +15
-31
lines changed Expand file tree Collapse file tree 1 file changed +15
-31
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,10 @@ subprojects {
22
22
23
23
publications {
24
24
25
- dev(MavenPublication ) {
26
- from components. java
27
-
28
- afterEvaluate {
29
- artifacts = pub. dev. artifacts
30
- .findResults { tasks. findByName(it) }
31
- .findAll { it. enabled }
32
- }
33
-
34
- pom {
25
+ def pomConfig = {
26
+ name = project. description
27
+ description = project. description
28
+ url = ' https://www.opencypher.org'
35
29
licenses {
36
30
license {
37
31
name = ' Apache License, Version 2.0'
@@ -49,37 +43,27 @@ subprojects {
49
43
scm {
50
44
url = ' https://github.com/opencypher/cypher-for-apache-spark'
51
45
}
46
+ }
47
+
48
+ dev(MavenPublication ) {
49
+ from components. java
50
+
51
+ afterEvaluate {
52
+ pom pomConfig
53
+ artifacts = pub. dev. artifacts
54
+ .findResults { tasks. findByName(it) }
55
+ .findAll { it. enabled }
52
56
}
53
57
}
54
58
55
59
full(MavenPublication ) {
56
60
from components. java
57
61
58
62
afterEvaluate {
63
+ pom pomConfig
59
64
artifacts = pub. full. artifacts
60
65
.findResults { tasks. findByName(it) }
61
66
.findAll { it. enabled }
62
-
63
- }
64
-
65
- pom {
66
- licenses {
67
- license {
68
- name = ' Apache License, Version 2.0'
69
- url = ' http://www.apache.org/licenses/LICENSE-2.0'
70
- }
71
- }
72
- developers {
73
- developer {
74
- id = ' caps'
75
- name = ' The CAPS team'
76
-
77
- url = ' https://www.opencypher.org'
78
- }
79
- }
80
- scm {
81
- url = ' https://github.com/opencypher/cypher-for-apache-spark'
82
- }
83
67
}
84
68
}
85
69
}
You can’t perform that action at this time.
0 commit comments