mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 05:28:20 +00:00
Remove local.properties
and add it to .gitignore
This file is not supposed to be added to version control and will be regenerated whenever the Gradle build is run.
This commit is contained in:
parent
dfae99da76
commit
ad9b44bfed
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -43,6 +43,9 @@ testrunner\[1\]_include.cmake
|
|||
|
||||
/SDL2.framework
|
||||
|
||||
# Android
|
||||
local.properties
|
||||
|
||||
# Ignore all the generated executables without extensions (for non-Windows
|
||||
# systems).
|
||||
DDNet
|
||||
|
|
|
@ -154,7 +154,6 @@ copy_dummy_files scripts/android/files/gradle-wrapper.jar gradle-wrapper.jar
|
|||
copy_dummy_files scripts/android/files/build.gradle build.gradle
|
||||
copy_dummy_files scripts/android/files/gradle-wrapper.properties gradle-wrapper.properties
|
||||
copy_dummy_files scripts/android/files/gradle.properties gradle.properties
|
||||
copy_dummy_files scripts/android/files/local.properties local.properties
|
||||
copy_dummy_files scripts/android/files/proguard-rules.pro proguard-rules.pro
|
||||
copy_dummy_files scripts/android/files/settings.gradle settings.gradle
|
||||
copy_dummy_files scripts/android/files/AndroidManifest.xml src/main/AndroidManifest.xml
|
||||
|
|
|
@ -36,9 +36,6 @@ sed -i "s/DDNet/${2}/g" src/main/res/values/strings.xml
|
|||
sed -i "s/\"DDNet\"/\"${2}\"/g" src/main/AndroidManifest.xml
|
||||
sed -i "s/tw.DDNet/${_REPLACE_PACKAGE_NAME_STR}/g" src/main/AndroidManifest.xml
|
||||
|
||||
__TW_HOME_DIR=$(echo "$HOME"|sed 's/\//\\\//g')
|
||||
|
||||
sed -i "s/TW_HOME_DIR/${__TW_HOME_DIR}/g" local.properties
|
||||
sed -i "s/TW_NDK_VERSION/${ANDROID_NDK_VERSION}/g" build.gradle
|
||||
sed -i "s/TW_VERSION_CODE/${TW_VERSION_CODE}/g" build.gradle
|
||||
sed -i "s/TW_VERSION_NAME/${TW_VERSION_NAME}/g" build.gradle
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
## This file is automatically generated by Android Studio.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file should *NOT* be checked into Version Control Systems,
|
||||
# as it contains information specific to your local configuration.
|
||||
#
|
||||
# Location of the SDK. This is only used by Gradle.
|
||||
# For customization when using a Version Control System, please read the
|
||||
# header note.
|
||||
sdk.dir="TW_HOME_DIR/Android/Sdk"
|
Loading…
Reference in a new issue