@@ -7,9 +7,9 @@ buildscript {
7
7
}
8
8
9
9
plugins {
10
- id( " java-library" )
11
- id( " maven-publish" )
12
- id( " signing" )
10
+ ` java- library`
11
+ ` maven- publish`
12
+ signing
13
13
id(" io.github.gradle-nexus.publish-plugin" )
14
14
id(" com.github.hierynomus.license" )
15
15
id(" com.github.sgtsilvio.gradle.utf8" )
@@ -22,7 +22,6 @@ if (gradle.includedBuilds.find { it.name == "plugins"} != null) {
22
22
project.ext.set(" versionUpdaterFiles" , arrayOf(" README.adoc" ))
23
23
}
24
24
25
-
26
25
/* ******************** metadata ******************** */
27
26
28
27
group = " com.hivemq"
@@ -38,29 +37,24 @@ metadata {
38
37
apache2()
39
38
}
40
39
developers {
41
- developer {
42
- id.set(" cschaebe" )
43
- name.set(" Christoph Schaebel" )
40
+ register(" cschaebe" ) {
41
+ fullName.set(" Christoph Schaebel" )
44
42
email.set(" christoph.schaebel@hivemq.com" )
45
43
}
46
- developer {
47
- id.set(" lbrandl" )
48
- name.set(" Lukas Brandl" )
44
+ register(" lbrandl" ) {
45
+ fullName.set(" Lukas Brandl" )
49
46
email.set(" lukas.brandl@hivemq.com" )
50
47
}
51
- developer {
52
- id.set(" flimpoeck" )
53
- name.set(" Florian Limpoeck" )
48
+ register(" flimpoeck" ) {
49
+ fullName.set(" Florian Limpoeck" )
54
50
email.set(" florian.limpoeck@hivemq.com" )
55
51
}
56
- developer {
57
- id.set(" sauroter" )
58
- name.set(" Georg Held" )
52
+ register(" sauroter" ) {
53
+ fullName.set(" Georg Held" )
59
54
email.set(" georg.held@hivemq.com" )
60
55
}
61
- developer {
62
- id.set(" SgtSilvio" )
63
- name.set(" Silvio Giebl" )
56
+ register(" SgtSilvio" ) {
57
+ fullName.set(" Silvio Giebl" )
64
58
email.set(" silvio.giebl@hivemq.com" )
65
59
}
66
60
}
@@ -71,7 +65,6 @@ metadata {
71
65
}
72
66
}
73
67
74
-
75
68
/* ******************** dependencies ******************** */
76
69
77
70
val internalPlatform by configurations.creating {
@@ -100,7 +93,6 @@ dependencies {
100
93
api(" org.slf4j:slf4j-api" )
101
94
}
102
95
103
-
104
96
/* ******************** java ******************** */
105
97
106
98
java {
@@ -115,7 +107,7 @@ java {
115
107
tasks.withType<Jar > {
116
108
manifest.attributes(
117
109
" Implementation-Title" to project.name,
118
- " Implementation-Vendor" to metadata.organization!! .name.get(),
110
+ " Implementation-Vendor" to metadata.organization.get() .name.get(),
119
111
" Implementation-Version" to project.version
120
112
)
121
113
}
@@ -137,7 +129,6 @@ tasks.javadoc {
137
129
}
138
130
}
139
131
140
-
141
132
/* ******************** publishing ******************** */
142
133
143
134
publishing {
@@ -170,10 +161,9 @@ nexusPublishing {
170
161
}
171
162
}
172
163
173
-
174
164
/* ******************** checks ******************** */
175
165
176
166
license {
177
167
header = projectDir.resolve(" HEADER" )
178
168
mapping(" java" , " SLASHSTAR_STYLE" )
179
- }
169
+ }
0 commit comments