Skip to content

Commit

Permalink
! update after release v1.0.0-Alpha4
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed May 5, 2024
1 parent 650a36c commit e6b61c9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,18 +561,18 @@ public class ConcurrencyStrategyDemo {
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu</artifactId>
<version>1.0.0-Alpha3</version>
<version>1.0.0-Alpha4</version>
</dependency>
```
- 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:
Expand All @@ -581,18 +581,18 @@ public class ConcurrencyStrategyDemo {
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-kotlin</artifactId>
<version>1.0.0-Alpha3</version>
<version>1.0.0-Alpha4</version>
</dependency>
```
- 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:
Expand All @@ -601,7 +601,7 @@ public class ConcurrencyStrategyDemo {
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-bom</artifactId>
<version>1.0.0-Alpha3</version>
<version>1.0.0-Alpha4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -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:
Expand All @@ -623,19 +623,19 @@ public class ConcurrencyStrategyDemo {
<dependency>
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<version>1.0.0-Alpha3</version>
<version>1.0.0-Alpha4</version>
<scope>runtime</scope>
</dependency>
```
- 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'
```

# 📚 更多资料
Expand Down
6 changes: 3 additions & 3 deletions cffu-ttl-executor-wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ For `Maven` projects:
<groupId>io.foldright</groupId>
<artifactId>cffu-ttl-executor-wrapper</artifactId>
<scope>runtime</scope>
<version>1.0.0-Alpha3</version>
<version>1.0.0-Alpha4</version>
</dependency>
```

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
Expand Down
2 changes: 0 additions & 2 deletions src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
a tiny sidekick library for
<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/CompletableFuture.html"><code>CompletableFuture</code></a>
to improve user experience and reduce misuse.
<p>The <a href="https://github.com/foldright/cffu" target="_blank"><dfn>CF-Fu</dfn> GitHub repo</a>
also include the best practice/traps guide 📚 for <code>CompletableFuture</code> 💗.
</body>
</html>

0 comments on commit e6b61c9

Please sign in to comment.