Skip to content

Commit c7d61dd

Browse files
authored
Update build.gradle
1 parent a3d8e45 commit c7d61dd

File tree

1 file changed

+63
-33
lines changed

1 file changed

+63
-33
lines changed

grpc-spring-boot-starter-gradle-plugin/build.gradle

Lines changed: 63 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,36 @@ publishing {
108108
}
109109
afterEvaluate {
110110
publications {
111+
grpcBootPluginPluginMarkerMaven {
112+
// customize marker publications here
113+
pom {
114+
name = 'grpc-spring-boot-starter-gradle-plugin'
115+
description = 'Configures project with grpc-spring-boot-starter marker'
116+
url = 'https://github.com/LogNet/grpc-spring-boot-starter'
117+
118+
scm {
119+
url = 'https://github.com/LogNet/grpc-spring-boot-starter'
120+
connection = 'scm:https://[email protected]/LogNet/grpc-spring-boot-starter.git'
121+
developerConnection = 'scm:git://github.com/LogNet/grpc-spring-boot-starter.git'
122+
}
123+
124+
licenses {
125+
license {
126+
name = 'The Apache Software License, Version 2.0'
127+
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
128+
distribution = 'repo'
129+
}
130+
}
131+
132+
developers {
133+
developer {
134+
id = 'jvmlet'
135+
name = 'Furer Alexander'
136+
137+
}
138+
}
139+
}
140+
}
111141
pluginMaven {
112142
// customize main publications here
113143
artifact sourceJar
@@ -143,36 +173,36 @@ publishing {
143173
}
144174
}
145175
}
146-
publications {
147-
mavenJava(MavenPublication) {
148-
pom {
149-
name = 'grpc-spring-boot-starter-gradle-plugin'
150-
description = 'Configures project with grpc-spring-boot-starter'
151-
url = 'https://github.com/LogNet/grpc-spring-boot-starter'
152-
153-
scm {
154-
url = 'https://github.com/LogNet/grpc-spring-boot-starter'
155-
connection = 'scm:https://[email protected]/LogNet/grpc-spring-boot-starter.git'
156-
developerConnection = 'scm:git://github.com/LogNet/grpc-spring-boot-starter.git'
157-
}
158-
159-
licenses {
160-
license {
161-
name = 'The Apache Software License, Version 2.0'
162-
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
163-
distribution = 'repo'
164-
}
165-
}
166-
167-
developers {
168-
developer {
169-
id = 'jvmlet'
170-
name = 'Furer Alexander'
171-
172-
}
173-
}
174-
175-
}
176+
// publications {
177+
// mavenJava(MavenPublication) {
178+
// pom {
179+
// name = 'grpc-spring-boot-starter-gradle-plugin'
180+
// description = 'Configures project with grpc-spring-boot-starter'
181+
// url = 'https://github.com/LogNet/grpc-spring-boot-starter'
182+
183+
// scm {
184+
// url = 'https://github.com/LogNet/grpc-spring-boot-starter'
185+
// connection = 'scm:https://[email protected]/LogNet/grpc-spring-boot-starter.git'
186+
// developerConnection = 'scm:git://github.com/LogNet/grpc-spring-boot-starter.git'
187+
// }
188+
189+
// licenses {
190+
// license {
191+
// name = 'The Apache Software License, Version 2.0'
192+
// url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
193+
// distribution = 'repo'
194+
// }
195+
// }
196+
197+
// developers {
198+
// developer {
199+
// id = 'jvmlet'
200+
// name = 'Furer Alexander'
201+
// email = '[email protected]'
202+
// }
203+
// }
204+
205+
// }
176206

177207
// from components.java
178208
//
@@ -183,9 +213,9 @@ publishing {
183213
// artifact(javadocJar) {
184214
// classifier = 'javadoc'
185215
// }
186-
}
187-
}
188-
}
216+
// }
217+
// }
218+
//}
189219

190220
signing {
191221
required {

0 commit comments

Comments
 (0)