Skip to content

Commit

Permalink
Fix gradle build failure
Browse files Browse the repository at this point in the history
Enable test aws-sdk-java-v2

Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
  • Loading branch information
shtripat committed Apr 23, 2024
1 parent aa836bd commit 7f254d4
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test_run_dir="$MINT_RUN_CORE_DIR/aws-sdk-java-v2"

cd "$(dirname "$(realpath "$0")")"

/opt/gradle/gradle-8.5/bin/gradle wrapper
./gradlew clean build

cp app/build/libs/FunctionalTests.jar "$test_run_dir/"
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
export APT="apt --quiet --yes"
export WGET="wget --quiet --no-check-certificate"

# install gradle
$APT install unzip
$WGET -O gradle-8.5-bin.zip https://services.gradle.org/distributions/gradle-8.5-bin.zip
mkdir /opt/gradle
unzip -qq -d /opt/gradle gradle-8.5-bin.zip
export PATH=$PATH:/opt/gradle/gradle-8.5/bin

# install nodejs source list
if ! $WGET --output-document=- https://deb.nodesource.com/setup_20.x | bash -; then
echo "unable to set nodejs repository"
Expand Down

0 comments on commit 7f254d4

Please sign in to comment.