Skip to content

Commit 383316b

Browse files
committed
Add configure tool
1 parent 3baca66 commit 383316b

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

.configure

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"project_name": "aztec-android",
3+
"branch": "trunk",
4+
"pinned_hash": "f1a61c572902401898e7e1c060b86d9da7baf8fa",
5+
"files_to_copy": [
6+
{
7+
"file": "android/WPAndroid/firebase.secrets.json",
8+
"destination": ".configure-files/firebase.secrets.json"
9+
}
10+
]
11+
}
2.36 KB
Binary file not shown.

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,16 @@ annotations/
5050

5151
# Kotlin lint
5252
ktlint
53+
54+
# Dependencies
55+
vendor
56+
57+
# Currently, the configure tool stores the encrypted files under
58+
# .configure-files. Everything in that folder without a .enc extension should
59+
# be ignored.
60+
.configure-files/*
61+
!.configure-files/*.enc
62+
63+
# Secrets files that should never be committed, regardless of location
64+
firebase.secrets.json
65+

build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
buildscript {
2+
repositories {
3+
maven { url "https://a8c-libs.s3.amazonaws.com/android" }
4+
}
5+
dependencies {
6+
classpath 'com.automattic.android:configure:0.6.3'
7+
}
8+
}
9+
110
plugins {
211
id "com.android.application" apply false
312
id "org.jetbrains.kotlin.android" apply false
@@ -18,6 +27,8 @@ allprojects {
1827
}
1928
}
2029

30+
apply plugin: 'com.automattic.android.configure'
31+
2132
task clean(type: Delete) {
2233
delete rootProject.buildDir
2334
}

0 commit comments

Comments
 (0)