From 6f9d723b291ceafc0a693beea247cf5b413263ae Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Thu, 2 May 2024 22:43:22 +0800 Subject: [PATCH] ! update after release `v1.0.0-Alpha4` --- README.md | 36 ++++++++++++++--------------- cffu-kotlin/pom.xml | 2 +- cffu-ttl-executor-wrapper/README.md | 6 ++--- scripts/maven_deploy.sh | 8 ++++--- src/main/javadoc/overview.html | 2 -- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 076f9423..e0df8357 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Java support Kotlin License -Javadocs -dokka +Javadocs +dokka Maven Central GitHub Releases GitHub Stars @@ -524,8 +524,8 @@ public class ConcurrencyStrategyDemo { 可以参见: - `API`文档 - - [`Java API`文档](https://foldright.io/cffu/apidocs/) - - [`Kotlin API`文档](https://foldright.io/cffu/dokka/) + - [`Java API`文档](https://foldright.io/api-docs/cffu/) + - [`Kotlin API`文档](https://foldright.io/api-docs/cffu-kotlin/) - 实现源码 - `cffu`:[`Cffu.java`](cffu-core/src/main/java/io/foldright/cffu/Cffu.java)、[`CffuFactory.java`](cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java) - `CompletableFuture utils`:[`CompletableFutureUtils.java`](cffu-core/src/main/java/io/foldright/cffu/CompletableFutureUtils.java) @@ -545,8 +545,8 @@ public class ConcurrencyStrategyDemo { # 🔌 API Docs -- 当前版本的`Java API`文档: https://foldright.io/cffu/apidocs/ -- 当前版本的`Kotlin API`文档: https://foldright.io/cffu/dokka/ +- 当前版本的`Java API`文档: https://foldright.io/api-docs/cffu/ +- 当前版本的`Kotlin API`文档: https://foldright.io/api-docs/cffu-kotlin/ 代码示例: @@ -561,18 +561,18 @@ public class ConcurrencyStrategyDemo { io.foldright cffu - 1.0.0-Alpha3 + 1.0.0-Alpha4 ``` - For `Gradle` projects: ```groovy // Gradle Kotlin DSL - implementation("io.foldright:cffu:1.0.0-Alpha3") + implementation("io.foldright:cffu:1.0.0-Alpha4") ``` ```groovy // Gradle Groovy DSL - implementation 'io.foldright:cffu:1.0.0-Alpha3' + implementation 'io.foldright:cffu:1.0.0-Alpha4' ``` - `cffu Kotlin`支持库: - For `Maven` projects: @@ -581,18 +581,18 @@ public class ConcurrencyStrategyDemo { io.foldright cffu-kotlin - 1.0.0-Alpha3 + 1.0.0-Alpha4 ``` - For `Gradle` projects: ```groovy // Gradle Kotlin DSL - implementation("io.foldright:cffu-kotlin:1.0.0-Alpha3") + implementation("io.foldright:cffu-kotlin:1.0.0-Alpha4") ``` ```groovy // Gradle Groovy DSL - implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha3' + implementation 'io.foldright:cffu-kotlin:1.0.0-Alpha4' ``` - `cffu bom`: - For `Maven` projects: @@ -601,7 +601,7 @@ public class ConcurrencyStrategyDemo { io.foldright cffu-bom - 1.0.0-Alpha3 + 1.0.0-Alpha4 pom import @@ -610,11 +610,11 @@ public class ConcurrencyStrategyDemo { ```groovy // Gradle Kotlin DSL - implementation(platform("io.foldright:cffu-bom:1.0.0-Alpha3")) + implementation(platform("io.foldright:cffu-bom:1.0.0-Alpha4")) ``` ```groovy // Gradle Groovy DSL - implementation platform('io.foldright:cffu-bom:1.0.0-Alpha3') + implementation platform('io.foldright:cffu-bom:1.0.0-Alpha4') ``` - [📌 `TransmittableThreadLocal(TTL)`](https://github.com/alibaba/transmittable-thread-local)的[`cffu executor wrapper SPI`实现](cffu-ttl-executor-wrapper): - For `Maven` projects: @@ -623,7 +623,7 @@ public class ConcurrencyStrategyDemo { io.foldright cffu-ttl-executor-wrapper - 1.0.0-Alpha3 + 1.0.0-Alpha4 runtime ``` @@ -631,11 +631,11 @@ public class ConcurrencyStrategyDemo { ```groovy // Gradle Kotlin DSL - runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha3") + runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha4") ``` ```groovy // Gradle Groovy DSL - runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha3' + runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha4' ``` # 📚 更多资料 diff --git a/cffu-kotlin/pom.xml b/cffu-kotlin/pom.xml index 73b1da71..a40bfe8e 100644 --- a/cffu-kotlin/pom.xml +++ b/cffu-kotlin/pom.xml @@ -135,7 +135,7 @@ - https://foldright.io/cffu/apidocs/${project.version}/ + https://foldright.io/api-docs/cffu/${project.version}/ file://${javadoc.package.list.dir}/cffu/package-list diff --git a/cffu-ttl-executor-wrapper/README.md b/cffu-ttl-executor-wrapper/README.md index 8fbcce53..72c8bdf9 100644 --- a/cffu-ttl-executor-wrapper/README.md +++ b/cffu-ttl-executor-wrapper/README.md @@ -18,7 +18,7 @@ For `Maven` projects: io.foldright cffu-ttl-executor-wrapper runtime - 1.0.0-Alpha3 + 1.0.0-Alpha4 ``` @@ -26,12 +26,12 @@ For `Gradle` projects: ```groovy // Gradle Kotlin DSL -runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha3") +runtimeOnly("io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha4") ``` ```groovy // Gradle Groovy DSL -runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha3' +runtimeOnly 'io.foldright:cffu-ttl-executor-wrapper:1.0.0-Alpha4' ``` `cffu-ttl-executor-wrapper` has published to maven central, find the latest version at diff --git a/scripts/maven_deploy.sh b/scripts/maven_deploy.sh index 2a132a50..35ef93e8 100755 --- a/scripts/maven_deploy.sh +++ b/scripts/maven_deploy.sh @@ -9,9 +9,11 @@ jvu::switch_to_jdk 21 ######################################## # integration test ######################################## -rm -rf "$HOME/.m2/repository/io/foldright"/cffu* -cu::log_then_run scripts/integration_test -cu::log_then_run demos/scripts/integration_test +if [ "${1:-}" = -it ]; then + rm -rf "$HOME/.m2/repository/io/foldright"/cffu* + cu::log_then_run scripts/integration_test + cu::log_then_run demos/scripts/integration_test +fi ######################################## # maven deploy diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html index 52abd0e8..b1acb13f 100644 --- a/src/main/javadoc/overview.html +++ b/src/main/javadoc/overview.html @@ -6,7 +6,5 @@ a tiny sidekick library for CompletableFuture to improve user experience and reduce misuse. -

The CF-Fu GitHub repo - also include the best practice/traps guide 📚 for CompletableFuture 💗.