Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/getting_started/java/dev_environment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Set up a local development environment for developing Temporal appl
tags: [Java, SDK, development environment]
keywords: [Java, JRE, Temporal, IntelliJ, Gradle, development environment]
last_update:
date: 2024-02-23
date: 2025-11-05
title: Set up a local development environment for Temporal and Java
image: /img/temporal-logo-twitter-card.png
---
Expand Down Expand Up @@ -55,7 +55,7 @@ Add the following dependencies to your Maven Project Object Model (POM) configur
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>1.24.1</version>
<version>1.31.0</version>
</dependency>

<dependency>
Expand All @@ -64,7 +64,7 @@ Add the following dependencies to your Maven Project Object Model (POM) configur
-->
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>1.24.1</version>
<version>1.31.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -81,8 +81,8 @@ Add the following lines to `build.gradle`, your Gradle configuration file. This


```groovy
implementation 'io.temporal:temporal-sdk:1.24.1'
testImplementation 'io.temporal:temporal-testing:1.24.1'
implementation 'io.temporal:temporal-sdk:1.31.0'
testImplementation 'io.temporal:temporal-testing:1.31.0'
```

</TabItem>
Expand Down
15 changes: 7 additions & 8 deletions docs/getting_started/java/hello_world_in_java/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 3
description: In this tutorial you will build your first Temporal app using the Java SDK
keywords: [Java,java,temporal,sdk,tutorial,hello world]
last_update:
date: 2024-04-08
date: 2025-11-05
tags:
- helloworld
- java
Expand Down Expand Up @@ -118,7 +118,7 @@ Your output will be similar to this:
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.037 s
[INFO] Finished at: 2023-03-29T10:05:47-05:00
[INFO] Finished at: 2025-11-05T10:05:47-05:00
[INFO] ------------------------------------------------------------------------
```

Expand All @@ -142,11 +142,10 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe
```xml
<dependencies>


<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>1.28.4</version>
<version>1.31.0</version>
</dependency>

<dependency>
Expand All @@ -158,7 +157,7 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>1.28.4</version>
<version>1.31.0</version>
<scope>test</scope>
</dependency>

Expand All @@ -172,7 +171,7 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.17.0</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -227,7 +226,7 @@ Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/q
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.973 s
[INFO] Finished at: 2023-03-29T15:47:31-05:00
[INFO] Finished at: 2025-11-05T10:47:31-05:00
[INFO] ------------------------------------------------------------------------
```

Expand Down Expand Up @@ -506,7 +505,7 @@ You'll see output similar to the following from your test run indicating that th
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.959 s
[INFO] Finished at: 2023-03-29T15:54:46-05:00
[INFO] Finished at: 2025-11-05T10:58:46-05:00
[INFO] ------------------------------------------------------------------------
```

Expand Down
22 changes: 11 additions & 11 deletions docs/tutorials/java/audiobook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: audiobook-tutorial
keywords: [Java, temporal, sdk, tutorial, entity workflow, audiobook, text to speech, OpenAI]
tags: [Java, SDK]
last_update:
date: 2024-07-16
date: 2025-11-05
title: Create audiobooks from text with OpenAI and Java
description: Build your own audiobooks from text using OpenAI Web APIs and Temporal. Step-by-step guide for hassle-free MP3 creation with robust failure mitigation.
sidebar_label: Create audiobooks from text with OpenAI and Java
Expand Down Expand Up @@ -109,11 +109,11 @@ apply plugin: 'java'
sourceSets.main.java.srcDirs 'src'

dependencies {
implementation 'io.temporal:temporal-sdk:1.22.2'
implementation 'org.slf4j:slf4j-nop:2.0.6' // logging suppression
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'org.json:json:20210307'
implementation 'io.temporal:temporal-sdk:1.31.0'
implementation 'org.slf4j:slf4j-nop:2.0.17' // logging suppression
implementation 'commons-io:commons-io:2.20.0'
implementation 'com.squareup.okhttp3:okhttp:5.2.0'
implementation 'org.json:json:20250517'
}

// Run the App
Expand All @@ -128,11 +128,11 @@ task run(type: JavaExec) {
3. Review your dependencies and run task:
Your dependencies include Temporal's [Java SDK](https://github.com/temporalio/sdk-java), and a few basic libraries:

* **com.squareup.okhttp3:okhttp:4.9.3**: OkHttp is a basic HTTP client for network requests.
* **org.json:json:20210307**: Parse and manipulate JSON data.
* **commons-io:commons-io:2.11.0**: Perform file tasks with common input/output routines.
* **org.slf4j:slf4j-nop:2.0.6**: Minimizes unnecessary output with logging suppression.
* **io.temporal:temporal-sdk:1.22.2**: Add error mitigation.
* **com.squareup.okhttp3**: Basic HTTP client for network requests
* **org.json:json**: Parse and manipulate JSON data
* **commons-io**: Perform file tasks with common input/output routines
* **slf4j-nop**: Minimizes unnecessary log output
* **temporal-sdk**: Provides support for building Temporal applications in Java (this is the Temporal SDK)

The run task starts your TTS application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,40 @@
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.12</version>
<version>1.5.20</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
<version>3.19.0</version>
</dependency>
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.5.2</version>
<version>5.14.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.3.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.1.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,40 @@
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
<version>1.5.20</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
<version>3.19.0</version>
</dependency>
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.5.2</version>
<version>5.14.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.3.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.1.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
20 changes: 10 additions & 10 deletions docs/tutorials/java/background-check/project-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Next, including the following dependencies in the `dependencies` section of your
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
</dependency>
```

Expand All @@ -349,7 +349,7 @@ to the `dependencies` section of your `build.gradle` file

```text
dependencies {
implementation group: 'io.temporal', name: 'temporal-sdk', version: '1.20.1'
implementation group: 'io.temporal', name: 'temporal-sdk', version: '1.31.0'
}
```

Expand Down Expand Up @@ -1022,36 +1022,36 @@ as a dependency to your project:
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>1.20.1</version>
<version>1.31.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.5.2</version>
<version>5.14.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.3.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.1.1</version>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
```

**[Gradle Groovy DSL](https://gradle.org/)**:

```groovy
testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.20.1'
testImplementation group: 'junit', name: 'junit-jupiter', version: '5.5.2'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.1.1'
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.3.1'
testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.31.0'
testImplementation group: 'junit', name: 'junit-jupiter', version: '5.14.1'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.20.0'
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.20.0'
```

Make sure to set the version that matches your dependency version of the [Temporal Java SDK](https://github.com/temporalio/sdk-java).
Expand Down