Skip to content

Commit

Permalink
build: update to Gradle 8.12 / remove duplicated Gradle versions (#2176)
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
  • Loading branch information
jjohannes authored Jan 16, 2025
1 parent dd7704e commit 828cf7c
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 725 deletions.
6 changes: 4 additions & 2 deletions example-android/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Example Android application

## Description

Example Android Application is designed to showcase various functionalities
and capabilities when working with the Hedera™ Java SDK.
It operates on a `testnet` environment and offers the following features
Expand All @@ -10,14 +11,15 @@ the "Generate" button.
- **Account Balance tab** allows you to retrieve the balance of an account by
pressing the "Get Account Balance" button and specifying the desired account,
which can be different from the default account specified in the
[`app/src/main/res/values/strings.xml`](app/src/main/res/values/strings.xml) file.
[`app/src/main/res/values/strings.xml`](app/src/main/res/values/strings.xml) file.
- **Crypto Transfer tab** allows you to transfer a specified amount of HBARs
from your account to a recipient account by pressing the "Send HBAR" button
and setting the recipient's account in the provided text field.

## Usage

### Configuration

Running the example requires `operator_id` and `operator_key`
resource strings to be set in
[`app/src/main/res/values/strings.xml`](app/src/main/res/values/strings.xml).
Expand All @@ -30,7 +32,7 @@ resource strings to be set in
You can then build and install the application on a connected device or emulator:

```
./gradlew installDebug
../gradlew installDebug
```

## Running with local vs published SDK version
Expand Down
Binary file removed example-android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions example-android/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

249 changes: 0 additions & 249 deletions example-android/gradlew

This file was deleted.

92 changes: 0 additions & 92 deletions example-android/gradlew.bat

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading

0 comments on commit 828cf7c

Please sign in to comment.