@@ -70,7 +70,7 @@ allprojects {
70
70
}
71
71
72
72
configure(rootProject) {
73
- version = " 0.0.6 "
73
+ version = " 0.0.7 "
74
74
75
75
apply plugin : " com.adarshr.test-logger"
76
76
@@ -134,3 +134,51 @@ project(":benchmarks") {
134
134
jmhCompileGeneratedClasses. finalizedBy deleteEmptyBmList
135
135
}
136
136
137
+ publishing {
138
+ repositories {
139
+ maven {
140
+ name = " MavenCentral"
141
+ def releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2"
142
+ def snapshotsRepoUrl = " https://oss.sonatype.org/content/repositories/snapshots"
143
+ url = version. toString(). endsWith(" SNAPSHOT" ) ? uri(snapshotsRepoUrl) : uri(releasesRepoUrl)
144
+ credentials {
145
+ username = System . getenv(" MAVEN_USERNAME" )
146
+ password = System . getenv(" MAVEN_PASSWORD" )
147
+ }
148
+ }
149
+ }
150
+ publications {
151
+ maven(MavenPublication ) {
152
+ from(components[" java" ])
153
+ artifact(tasks[" sourcesJar" ])
154
+ artifact(tasks[" javadocJar" ])
155
+ groupId = " com.github.viartemev"
156
+ artifactId = " rabbitmq-kotlin"
157
+ version = " 0.7.0"
158
+ pom {
159
+ name. set(" RabbitMQ Kotlin" )
160
+ description. set(" Kotlin library for RabbitMQ" )
161
+ url. set(" https://github.com/viartemev/rabbitmq-kotlin" )
162
+ licenses {
163
+ license {
164
+ name. set(" MIT License" )
165
+ url. set(" https://github.com/viartemev/rabbitmq-kotlin/blob/master/LICENSE" )
166
+ }
167
+ }
168
+ developers {
169
+ developer {
170
+ id. set(" https://github.com/viartemev" )
171
+ name. set(" Vyacheslav Artemyev" )
172
+
173
+ }
174
+ }
175
+ scm {
176
+ connection. set(" scm:git:https://github.com/viartemev/rabbitmq-kotlin.git" )
177
+ developerConnection. set(" scm:git:https://github.com/viartemev/rabbitmq-kotlin.git" )
178
+ url. set(" https://github.com/viartemev/rabbitmq-kotlin" )
179
+ }
180
+
181
+ }
182
+ }
183
+ }
184
+ }
0 commit comments