From b033548c0f77290945c50c43a38370ec8e29a64e Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Sat, 28 Jan 2023 20:29:53 +0000 Subject: [PATCH] Cleanups before the PR is ready to review --- build.gradle | 2 -- update.sh | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100755 update.sh diff --git a/build.gradle b/build.gradle index c574fb4c..0b4dba66 100644 --- a/build.gradle +++ b/build.gradle @@ -20,10 +20,8 @@ import org.jetbrains.gradle.ext.* import java.nio.file.Files import java.nio.file.Paths -import java.text.MessageFormat import java.util.concurrent.TimeUnit import java.util.zip.ZipEntry -import java.util.zip.ZipInputStream import java.util.zip.ZipOutputStream buildscript { diff --git a/update.sh b/update.sh deleted file mode 100755 index d58b20df..00000000 --- a/update.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -SRC_FOLDER=$(readlink -f ${BASH_SOURCE%/*}) -SRC_FOLDER=$(cd "$SRC_FOLDER" && pwd -P) -TARGET_FOLDER=$(cd "$1" && pwd -P) - -echo "Source at ${SRC_FOLDER}" -echo "Target at $TARGET_FOLDER" - -if [[ "$SRC_FOLDER" == "$TARGET_FOLDER" ]]; then - echo "Src=Target" - exit 1 -fi - -if [[ ! -f "$TARGET_FOLDER"/gradlew ]]; then - echo "Target at $TARGET_FOLDER is not a gradle project" -fi - -cp -av "$SRC_FOLDER/gradle" "$SRC_FOLDER/build.gradle" "$TARGET_FOLDER/" -cp -av "$SRC_FOLDER/settings.gradle.example" "$TARGET_FOLDER/settings.gradle"