Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Group .gitignore and improve properties-example/README
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkocer committed Apr 22, 2021
1 parent f67964b commit 5b4957f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ local.properties

# Gradle
.gradle/
example/properties/
gradle.properties
tests.properties
api.properties
tests.properties-extra
.gradletasknamecache

# Generated by gradle
Expand All @@ -70,9 +65,16 @@ WordPress/src/main/res/values/com_crashlytics_export_strings.xml
# libs
libs/utils

# Non-vendored dependencies
/vendor

# Possible credentials locations
example/properties/
gradle.properties
tests.properties
api.properties
tests.properties-extra
# Ignore non-encrypted files in .configure-files
.configure-files/*
!.configure-files/*.enc

# Non-vendored dependencies
/vendor
4 changes: 2 additions & 2 deletions example/properties-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
We use gradle property files to store sensitive information under the git ignored `example/properties/` folder.
There are 2 ways to set these up:

1. If you work at Automattic, you should have a mobile secrets folder which should contain all the necessary properties.
You can run `./gradlew applyConfiguration` from the root of the project to copy these.
1. If you work at Automattic, you should have a mobile secrets folder which should contain the necessary decryption key.
You can run `./gradlew applyConfiguration` from the root of the project to decrypt the files in `.configure-files`.
2. Otherwise, you can copy the `properties-example` folder with the following command and use your own credentials: `cp -a example/properties-example/ example/properties/`

### Deprecated Properties
Expand Down

0 comments on commit 5b4957f

Please sign in to comment.