Skip to content

Commit 93317cb

Browse files
Merge branch 'trunk' into issue/12836-media-upload-wpv2
# Conflicts: # gradle/libs.versions.toml
2 parents 3a6ac00 + af5b7a5 commit 93317cb

File tree

115 files changed

+3231
-1342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+3231
-1342
lines changed

.buildkite/commands/lint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash -u
22

33
echo "--- 🧹 Linting"
4-
cp gradle.properties-example gradle.properties
54
./gradlew :WooCommerce:lintJalapenoDebug
65
app_lint_exit_code=$?
76

.buildkite/commands/run-unit-tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
echo "--- 🧪 Testing"
44
set +e
5-
cp gradle.properties-example gradle.properties
65
./gradlew testJalapenoDebugUnitTest lib:cardreader:testDebugUnitTest lib:iap:testDebugUnitTest
76
TESTS_EXIT_STATUS=$?
87
set -e

.buildkite/pipeline.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ steps:
3737
- label: "detekt"
3838
command: |
3939
echo "--- 🧹 Linting"
40-
cp gradle.properties-example gradle.properties
4140
./gradlew detektAll
4241
plugins: [$CI_TOOLKIT]
4342
artifact_paths:
@@ -50,9 +49,7 @@ steps:
5049
- "**/build/reports/lint-results*.*"
5150

5251
- label: "Dependency Tree Diff"
53-
command: |
54-
cp gradle.properties-example gradle.properties
55-
comment_with_dependency_diff 'woocommerce' 'vanillaReleaseRuntimeClasspath'
52+
command: comment_with_dependency_diff 'woocommerce' 'vanillaReleaseRuntimeClasspath'
5653
if: build.pull_request.id != null
5754
plugins: [$CI_TOOLKIT]
5855
artifact_paths:

.buildkite/schedules/dependency-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ steps:
88
- label: "dependency analysis"
99
command: |
1010
echo "--- 📊 Analyzing"
11-
cp gradle.properties-example gradle.properties
1211
./gradlew buildHealth
1312
plugins: [$CI_TOOLKIT]
1413
artifact_paths:

.configure

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"project_name": "woocommerce-android",
33
"branch": "trunk",
4-
"pinned_hash": "126ffacbbfc7abf1f4bf14670d72418846f04673",
4+
"pinned_hash": "680e4785bcbf8bdc9f3ab6c0f7af24cd3f87dea2",
55
"files_to_copy": [
66
{
7-
"file": "android/WCAndroid/gradle.properties",
8-
"destination": "gradle.properties",
7+
"file": "android/WCAndroid/secrets.properties",
8+
"destination": "~/.configure/woocommerce-android/secrets/secrets.properties",
99
"encrypt": true
1010
},
1111
{
@@ -44,7 +44,5 @@
4444
"encrypt": true
4545
}
4646
],
47-
"file_dependencies": [
48-
49-
]
47+
"file_dependencies": []
5048
}
1.31 KB
Binary file not shown.

.github/workflows/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ jobs:
1515
with:
1616
distribution: 'temurin'
1717
java-version: '17'
18-
- run: cp gradle.properties-example gradle.properties
1918
- name: Setup Gradle to generate and submit dependency graphs
2019
uses: gradle/actions/dependency-submission@v3

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ artifacts/
2121
.gradle/
2222
build/
2323
*/build/
24-
gradle.properties
24+
developer.properties
2525

2626
# Crash Logging Configuration
2727
fabric.properties

Gemfile.lock

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (7.2.2)
8+
activesupport (8.0.0)
99
base64
1010
benchmark (>= 0.3)
1111
bigdecimal
@@ -17,30 +17,31 @@ GEM
1717
minitest (>= 5.1)
1818
securerandom (>= 0.3)
1919
tzinfo (~> 2.0, >= 2.0.5)
20+
uri (>= 0.13.1)
2021
addressable (2.8.7)
2122
public_suffix (>= 2.0.2, < 7.0)
2223
artifactory (3.0.17)
2324
ast (2.4.2)
2425
atomos (0.1.3)
2526
aws-eventstream (1.3.0)
26-
aws-partitions (1.1001.0)
27-
aws-sdk-core (3.211.0)
27+
aws-partitions (1.1009.0)
28+
aws-sdk-core (3.213.0)
2829
aws-eventstream (~> 1, >= 1.3.0)
2930
aws-partitions (~> 1, >= 1.992.0)
3031
aws-sigv4 (~> 1.9)
3132
jmespath (~> 1, >= 1.6.1)
3233
aws-sdk-kms (1.95.0)
3334
aws-sdk-core (~> 3, >= 3.210.0)
3435
aws-sigv4 (~> 1.5)
35-
aws-sdk-s3 (1.169.0)
36+
aws-sdk-s3 (1.171.0)
3637
aws-sdk-core (~> 3, >= 3.210.0)
3738
aws-sdk-kms (~> 1)
3839
aws-sigv4 (~> 1.5)
3940
aws-sigv4 (1.10.1)
4041
aws-eventstream (~> 1, >= 1.0.2)
4142
babosa (1.0.4)
4243
base64 (0.2.0)
43-
benchmark (0.3.0)
44+
benchmark (0.4.0)
4445
bigdecimal (3.1.8)
4546
buildkit (1.6.1)
4647
sawyer (>= 0.6)
@@ -164,7 +165,7 @@ GEM
164165
xcodeproj (>= 1.13.0, < 2.0.0)
165166
xcpretty (~> 0.3.0)
166167
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
167-
fastlane-plugin-wpmreleasetoolkit (12.3.0)
168+
fastlane-plugin-wpmreleasetoolkit (12.3.2)
168169
activesupport (>= 6.1.7.1)
169170
buildkit (~> 1.5)
170171
chroma (= 0.2.0)
@@ -231,7 +232,7 @@ GEM
231232
concurrent-ruby (~> 1.0)
232233
java-properties (0.3.0)
233234
jmespath (1.6.2)
234-
json (2.7.6)
235+
json (2.8.2)
235236
jwt (2.9.3)
236237
base64
237238
kramdown (2.4.0)
@@ -266,7 +267,7 @@ GEM
266267
sawyer (~> 0.9)
267268
open4 (1.3.4)
268269
options (2.3.2)
269-
optparse (0.5.0)
270+
optparse (0.6.0)
270271
os (1.1.4)
271272
parallel (1.26.3)
272273
parser (3.3.6.0)
@@ -311,7 +312,7 @@ GEM
311312
sawyer (0.9.2)
312313
addressable (>= 2.3.5)
313314
faraday (>= 0.17.3, < 3)
314-
securerandom (0.3.1)
315+
securerandom (0.3.2)
315316
security (0.1.5)
316317
signet (0.19.0)
317318
addressable (~> 2.8)
@@ -334,6 +335,7 @@ GEM
334335
concurrent-ruby (~> 1.0)
335336
uber (0.1.0)
336337
unicode-display_width (2.6.0)
338+
uri (1.0.2)
337339
word_wrap (1.0.0)
338340
xcodeproj (1.27.0)
339341
CFPropertyList (>= 2.3.3, < 4.0)
@@ -351,7 +353,6 @@ PLATFORMS
351353
aarch64-linux
352354
arm-linux
353355
arm64-darwin
354-
ruby
355356
x86-linux
356357
x86_64-darwin
357358
x86_64-linux

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,8 @@
3838
$ cd woocommerce-android
3939
```
4040

41-
1. Generate the developer oauth2 tokens. These values get copied into the main `gradle.properties` file in the next step. See the [OAuth2 Authentication](docs/project-overview.md#oauth2-authentication) section for details.
42-
1. Generate the `gradle.properties` file for this app:
43-
44-
```bash
45-
$ cp ./gradle.properties-example ./gradle.properties
46-
```
47-
48-
1. Open and modify the newly created `gradle.properties` files. See the [Configuration Files](docs/project-overview.md#configuration-files) section for a breakdown of the properties.
41+
1. Create a new `~/.configure/woocommerce-android/secrets.properties` file. See the [Configuration Files](docs/project-overview.md#configuration-files) section for a breakdown of the properties.
42+
1. Generate the developer oauth2 tokens. These values get copied into the `~/.configure/woocommerce-android/secrets.properties` file in the next step. See the [OAuth2 Authentication](docs/project-overview.md#oauth2-authentication) section for details.
4943
1. In Android Studio, open the project from the local repository. This will auto-generate `local.properties` with the SDK location.
5044
1. Optional: Go to Tools → Device Manager and create an emulated device.
5145
1. Run. (Creates a default virtual device if you skipped the previous step)

0 commit comments

Comments
 (0)