Skip to content

Commit

Permalink
Remove unnecessary files in RN-Tester (#37152)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37152

Those files are unncessary and can be removed from RNTester.
* Proguard file is empty
* Signing config is unnecessary and we can use the debug one also for release.

Changelog:
[Internal] [Changed] - Remove unnecessary files in RN-Tester

Reviewed By: hoxyq

Differential Revision: D45399388

fbshipit-source-id: fd1c6cccaef668e688a699e31045bdc8103ea98e
  • Loading branch information
cortinico authored and facebook-github-bot committed Apr 28, 2023
1 parent b33cc7d commit 243a148
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
17 changes: 2 additions & 15 deletions packages/rn-tester/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,6 @@ android {
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
signingConfigs {
release {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
externalNativeBuild {
cmake {
version cmakeVersion
Expand All @@ -145,15 +137,10 @@ android {
}
}
buildTypes {
debug {
debuggable true
signingConfig signingConfigs.release
}
release {
debuggable false
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.debug
}
}
sourceSets.main {
Expand Down
5 changes: 0 additions & 5 deletions packages/rn-tester/android/app/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
org.gradle.parallel=true
# This is causing issue with dependencies task: https://github.com/gradle/gradle/issues/9645#issuecomment-530746758
# org.gradle.configureondemand=true
MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
MYAPP_RELEASE_KEY_ALIAS=androiddebugkey
MYAPP_RELEASE_STORE_PASSWORD=android
MYAPP_RELEASE_KEY_PASSWORD=android

android.useAndroidX=true
android.enableJetifier=true

Expand Down
Binary file not shown.
15 changes: 0 additions & 15 deletions packages/rn-tester/android/app/proguard-rules.pro

This file was deleted.

0 comments on commit 243a148

Please sign in to comment.