Skip to content

Commit

Permalink
moved file back
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Apr 19, 2024
1 parent d8babdb commit d63db1b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

# Script that update files required for the Android Gradle Plugin version update.
#
# Use script: ./scripts/gradle-compatibility/gradle-legacy-compat.sh <new_agp_version> <new_gradle_plugin_version> <new_java_version> <new_kotlin_jvm_version> <new_apk_scale_version> <packaging_resources_action>
# e.g. ./scripts/gradle-compatibility/gradle-legacy-compat.sh --agpVersion "7.2.0" --gradlePluginVersion "7.6.4" --javaVersion "JavaVersion.VERSION_1_8" --kotlinJVMVersion "1.8" --apkScaleVersion "0.1.4" --packagingResourcesAction "packagingOptions"
# Usage:
# ./scripts/update-gradle-compatibility.sh --agpVersion <new_agp_version> --gradlePluginVersion <new_gradle_plugin_version>
# --javaVersion <new_java_version> --kotlinJVMVersion <new_kotlin_jvm_version> --apkScaleVersion <new_apk_scale_version>
# --packagingResourcesAction <packaging_resources_action>
# ./scripts/update-gradle-compatibility.sh --agpVersion "7.2.0" --gradlePluginVersion "7.6.4" --javaVersion "JavaVersion.VERSION_1_8" --kotlinJVMVersion "1.8" --apkScaleVersion "0.1.4" --packagingResourcesAction "packagingOptions"

set -e

Expand Down Expand Up @@ -51,7 +54,7 @@ while [[ "$#" -gt 0 ]]; do
done

RELATIVE_PATH_TO_SCRIPTS_DIR=$(dirname "$0")
ABSOLUTE_PATH_TO_SOURCE_CODE_ROOT_DIR=$(realpath "$RELATIVE_PATH_TO_SCRIPTS_DIR/../..")
ABSOLUTE_PATH_TO_SOURCE_CODE_ROOT_DIR=$(realpath "$RELATIVE_PATH_TO_SCRIPTS_DIR/..")

# Obtain the path to the files that need to be updated.
# Uses CLI tool sd to replace string in a file: https://github.com/chmln/sd
Expand Down

0 comments on commit d63db1b

Please sign in to comment.