Skip to content

Commit cb01ec2

Browse files
committed
v3.12.6 and simplify publishing in build.gradle
1 parent 12811d5 commit cb01ec2

File tree

2 files changed

+58
-89
lines changed

2 files changed

+58
-89
lines changed

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## 3.12.6
4+
- Adding logs to internal shadower to check for failures log (#918)
5+
- Removing fossa as it is migrated to snyk (#919)
6+
- Add codecov (#920)
7+
- Add missing proto to thrift enum mappings and unit tests for both EnumMappers (#924)
8+
- Remove unused code from cadence.internal package (#921)
9+
- Refactor Test environment initialization to CadenceTestRule from WorkflowTest. (#923)
10+
- upgrade mockito to 4.5.1 (#929)
11+
- Report child workflow started synchronously (#928)
12+
- Fix incorrect exception handling in WorkflowTchannelClient and add unit test coverage (#931)
13+
- Fix WorkflowQueue#offer and increase test coverage (#932)
14+
- Fix ActivityCompletionClient cancellation and failure by WorkflowExecution (#930)
15+
- Fix incorrect exception for unsupported method in WorkflowService (#933)
16+
- Fix flakiness in ManualActivityCompletionWorkflowTest (#937)
17+
- Fix Domain GRPC->Thrift mapping and increase test coverage (#934)
18+
- thrift install script (#939)
19+
- Fix unimplementented methods of TestWorkflowEnvironment (#945)
20+
- Fix bug in QueryWorkflowParameters.toString (#948)
21+
- Fix NPE in RetryParameters and add unit tests to ExecuteActivityParameters (#946)
22+
- Add copy function and unit tests to StartWorkflowExecutionParameters (#953)
23+
- Fix Error handling and add test coverage for Thrift2ProtoAdapter (#950)
24+
- Fix unhandled exceptions in WorkflowServiceTChannel (#954)
25+
- Fix nil pointer issue (#982)
26+
- add log and metrics on TBase message dataconverter usage (#986)
27+
- added ExecutorWrapper in WorkerFactoryOptions (#988)
28+
- Set skipArchival to true for getResultAsync (#990)
29+
330
## 3.12.5
431
- Fix transient test failures
532
- Fix Request ID handling for server-side idempotency

build.gradle

+31-89
Original file line numberDiff line numberDiff line change
@@ -225,47 +225,40 @@ def ossrhUsername = hasProperty('ossrhUsername') ? property('ossrhUsername') : '
225225
def ossrhPassword = hasProperty('ossrhPassword') ? property('ossrhPassword') : ''
226226

227227
publishing {
228-
229228
publications {
230-
// Uncomment below if you want to run "publishMavenLocal"
231-
maven(MavenPublication) {
232-
pom.withXml {
233-
asNode().with {
234-
appendNode('packaging', 'jar')
235-
appendNode('name', 'cadence-client')
236-
appendNode('description', description)
237-
appendNode('url', 'https://github.com/uber-java/cadence-client')
238-
appendNode('scm').with {
239-
appendNode('url', 'https://github.com/uber-java/cadence-client')
240-
appendNode('connection', '[email protected]:uber-java/cadence-client.git')
229+
mavenJava(MavenPublication) {
230+
from components.java
231+
artifact javadocJar
232+
artifact sourcesJar
233+
pom {
234+
name = 'cadence-client'
235+
description = 'Uber Cadence Java Client'
236+
url = 'https://github.com/uber-java/cadence-client'
237+
scm {
238+
url = 'https://github.com/uber-java/cadence-client'
239+
connection = 'scm:git:[email protected]:uber-java/cadence-client.git/'
240+
developerConnection = 'scm:git:[email protected]:uber-java/cadence-client.git/'
241+
}
242+
licenses {
243+
license {
244+
name = 'The Apache License, Version 2.0'
245+
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
241246
}
242-
appendNode('licenses').with {
243-
appendNode('license').with {
244-
appendNode('name', 'The Apache License, Version 2.0')
245-
appendNode('url', 'http://www.apache.org/licenses/LICENSE-2.0.txt')
246-
}
247+
}
248+
developers {
249+
developer {
250+
id = 'maxim'
251+
name = 'Maxim Fateev'
252+
247253
}
248-
appendNode('developers').with {
249-
appendNode('maxim').with {
250-
appendNode('id', 'maxim')
251-
appendNode('name', 'Maxim Fateev')
252-
appendNode('email', '[email protected]')
253-
}
254-
appendNode('developer').with {
255-
appendNode('id', 'meiliang')
256-
appendNode('name', 'Liang Mei')
257-
appendNode('email', '[email protected]')
258-
}
254+
developer {
255+
id = 'meiliang'
256+
name = 'Liang Mei'
257+
259258
}
260259
}
261260
}
262261
}
263-
264-
mavenJava(MavenPublication) {
265-
from components.java
266-
artifact javadocJar
267-
artifact sourcesJar
268-
}
269262
}
270263
repositories {
271264
maven {
@@ -282,6 +275,10 @@ publishing {
282275
}
283276
}
284277

278+
signing {
279+
sign publishing.publications.mavenJava
280+
}
281+
285282
task registerDomain(type:JavaExec) {
286283
main = 'com.uber.cadence.RegisterTestDomain'
287284
classpath = sourceSets.test.runtimeClasspath
@@ -299,61 +296,6 @@ test {
299296
}
300297
}
301298

302-
uploadArchives {
303-
repositories {
304-
mavenDeployer {
305-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
306-
307-
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {
308-
authentication(userName: ossrhUsername, password: ossrhPassword)
309-
}
310-
311-
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') {
312-
authentication(userName: ossrhUsername, password: ossrhPassword)
313-
}
314-
315-
pom.project {
316-
name 'cadence-client'
317-
packaging 'jar'
318-
// optionally artifactId can be defined here
319-
description 'Uber Cadence Java Client'
320-
url 'https://github.com/uber-java/cadence-client'
321-
322-
scm {
323-
connection 'scm:git:[email protected]:uber-java/cadence-client.git/'
324-
developerConnection 'scm:git:[email protected]:uber-java/cadence-client.git/'
325-
url 'https://github.com/uber-java/cadence-client'
326-
}
327-
328-
licenses {
329-
license {
330-
name 'The Apache License, Version 2.0'
331-
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
332-
}
333-
}
334-
335-
developers {
336-
developer {
337-
id 'maxim'
338-
name 'Maxim Fateev'
339-
340-
}
341-
developer {
342-
id 'mkol'
343-
name 'Max K'
344-
345-
}
346-
developer {
347-
id 'meiliang'
348-
name 'Liang Mei'
349-
350-
}
351-
}
352-
}
353-
}
354-
}
355-
}
356-
357299
jacoco {
358300
toolVersion = "0.8.2"
359301
}

0 commit comments

Comments
 (0)