Skip to content

Commit 38d71ff

Browse files
ElliotFriendclaudeCopilot
authored
chore(sdk-examples): update Java SDK coordinates to current release (#2502)
* chore(sdk-examples): update Java SDK coordinates to current release java-stellar-sdk is published as `network.lightsail:stellar-sdk` (current 3.1.0) from the lightsail-network org. Several examples carried stale coordinates/versions: - create-account.mdx: `org.stellar:java-stellar-sdk:0.43.0-SNAPSHOT` (obsolete group id + pre-release) -> `network.lightsail:stellar-sdk:3.1.0` - working-with-contract-specs.mdx: bump `2.1.0` -> `3.1.0` - getTransaction.mdx: bump `0.44.0` -> `3.1.0` - stellar-transaction.mdx: repoint the repo link from the old `stellar/java-stellar-sdk` org to `lightsail-network/java-stellar-sdk` The Java code itself (org.stellar.sdk.* imports) is unchanged — the package namespace did not move, only the build coordinates and repo org. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 5215f5c commit 38d71ff

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/build/guides/dapps/working-with-contract-specs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ print("errorResultXdr:", response.error_result_xdr)
356356
```
357357

358358
```java
359-
// implementation 'network.lightsail:stellar-sdk:2.1.0'
359+
// implementation 'network.lightsail:stellar-sdk:3.1.0'
360360
import org.stellar.sdk.KeyPair;
361361
import org.stellar.sdk.Network;
362362
import org.stellar.sdk.SorobanServer;

docs/build/guides/transactions/create-account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func check(err error) {
481481
```java
482482
// File: main.java
483483
// Dependencies (Maven coordinates):
484-
// org.stellar:java-stellar-sdk:0.43.0-SNAPSHOT
484+
// network.lightsail:stellar-sdk:3.1.0
485485
// com.fasterxml.jackson.core:jackson-databind:2.17.2
486486

487487
import java.io.IOException;

docs/data/apis/rpc/api-reference/methods/getTransaction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ getTransactionDetails(
5454
```
5555

5656
```java
57-
// implementation 'network.lightsail:stellar-sdk:0.44.0'
57+
// implementation 'network.lightsail:stellar-sdk:3.1.0'
5858

5959
import org.stellar.sdk.SorobanServer;
6060
import org.stellar.sdk.responses.sorobanrpc.GetTransactionResponse;

docs/learn/fundamentals/contract-development/contract-interactions/stellar-transaction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ print(result)
211211

212212
:::tip
213213

214-
[java-stellar-sdk](https://github.com/stellar/java-stellar-sdk) provides support for Soroban, please visit the project homepage for more information.
214+
[java-stellar-sdk](https://github.com/lightsail-network/java-stellar-sdk) provides support for Soroban. Please visit the project homepage for more information.
215215

216216
:::
217217

0 commit comments

Comments
 (0)