#!/usr/bin/env bash
CWD=$(cd "$(dirname "$0")"; pwd)

# *****************************************************************************
# @author khy
# @2018.11.23
#
# 特殊包配置文件
#
# *****************************************************************************

#TINKER_PATCH_VERSION_NAME="3.0.1"
#VERSION_NAME="3.0"
#VERSION_CODE="30"
#PACKAGE_NAME="com.gh.gamecenter.mark"
#APP_NAME="光环助手特殊版"
#PATCH_DOWNLOAD_NAME="加速"
#PATCH_DOWNLOADING_NAME="加速中"
#CHANNEL_ARRAY=("GH_120", "GH_130", "GH_130")

# 根目录是脚本文件所在的上一级(根目录)
PROJECT_BASE=${CWD}/../

CONFIG_FILE=${PROJECT_BASE}/dependencies.gradle
GRADLE_FILE=${PROJECT_BASE}/gradle.properties
STRINGS_FILE=${PROJECT_BASE}/app/src/main/res/values/strings.xml
#DOWNLOAD_UTILS_FILE=${PROJECT_BASE}/app/src/main/java/com.gh.common.util/DownloadItemUtils.java
#GAME_UTILS_FILE=${PROJECT_BASE}/app/src/main/java/com.gh.common.util/GameUtils.java

SOURCE_APK_PATH=${PROJECT_BASE}/app/build/outputs/apk/publish/release/
SOURCE_APK_FILE=${SOURCE_APK_PATH}/app-publish-release.apk

BAK_CONFIG_FILE=${PROJECT_BASE}/dependencies.gradle.bak
BAK_GRADLE_FILE=${PROJECT_BASE}/gradle.properties.bak
BAK_STRINGS_FILE=${PROJECT_BASE}/strings.xml.bak

CMD_GRADLE_RELEASE="${PROJECT_BASE}/gradlew -b ${PROJECT_BASE}/build.gradle assemblePublishRelease"




