Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix open source builds #3

Merged
merged 7 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Instructure's Open Source Android Code

The open source code provided by the Android Team at Instructure.

## Building

Run `./open_source.sh` once and then use Gradle to build the apps.

App | Command
--- | ---
Student | `./gradlew/gradle -p apps :student:assembleDevDebug`
Teacher | `./gradlew/gradle -p apps :teacher:assembleDevDebug`
Parent | `./gradlew/gradle -p apps :parent:assembleDevDebug`

## Applications:

#### The Applications we have published on Google Play.
Expand Down
6 changes: 6 additions & 0 deletions open_source.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -ex

# Open source users: Run this script before building.
CalvinKern marked this conversation as resolved.
Show resolved Hide resolved
rm private-data
mv open_source_data private-data
3 changes: 2 additions & 1 deletion open_source_data/annotations/files.list
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# PSPDFKit
# PSPDFKit
private.properties=private.properties
2 changes: 2 additions & 0 deletions open_source_data/annotations/private.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pspdfMavenUser=pspdfkit
pspdfMavenPass=jZdwMw7uqYGuKc6RxYLuEPwYqyvYQQ
Binary file removed open_source_data/debug.keystore
Binary file not shown.
3 changes: 0 additions & 3 deletions open_source_data/debug.properties

This file was deleted.

2 changes: 0 additions & 2 deletions open_source_data/login-api/private.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
zendeskDomain=2
zendeskCredentials=2
anonymousSchoolDomain=2
121 changes: 0 additions & 121 deletions open_source_data/merge-private-data.gradle

This file was deleted.

5 changes: 4 additions & 1 deletion open_source_data/parent/files.list
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
private.properties=private.properties

# Fabric key
fabric.properties=app/fabric.properties
fabric.properties=fabric.properties

# Google Services
google-services.json=google-services.json
42 changes: 42 additions & 0 deletions open_source_data/parent/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"project_info": {
"project_number": "1",
"firebase_url": "2",
"project_id": "3",
"storage_bucket": "4"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:111111111111:android:1111111111111111",
"android_client_info": {
"package_name": "com.instructure.parentapp"
}
},
"oauth_client": [
{
"client_id": "6",
"client_type": 3
}
],
"api_key": [
{
"current_key": "7"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
Empty file.
Empty file.
Empty file.
6 changes: 6 additions & 0 deletions open_source_data/soseedygrpc/files.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Private info for iOS data seeding server
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this say "Android" rather than "iOS"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some weird history about soseedygrpc

tl;dr it was only ever used on iOS and isn't actually used anymore by anyone

ca.crt=src/main/resources/ca.crt
server.crt=src/main/resources/server.crt
server.pem=src/main/resources/server.pem
client.crt=src/main/resources/client.crt
client.pem=src/main/resources/client.pem
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions open_source_data/speedgrader/files.list
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ google-services.json=app/google-services.json

# Google Ananlytics
analytics.xml=app/src/main/res/xml/analytics.xml

# Fonts
HelveticaNeueLTCom-BdCn.ttf=app/src/main/assets/HelveticaNeueLTCom-BdCn.ttf
HelveticaNeueLTCom-LtCn.ttf=app/src/main/assets/HelveticaNeueLTCom-LtCn.ttf
HelveticaNeueLTCom-LtIt.ttf=app/src/main/assets/HelveticaNeueLTCom-LtIt.ttf
HelveticaNeueLTCom-MdCn.ttf=app/src/main/assets/HelveticaNeueLTCom-MdCn.ttf
HelveticaNeueLTCom-MdCnO.ttf=app/src/main/assets/HelveticaNeueLTCom-MdCnO.ttf
HelveticaNeueLTCom-Th.ttf=app/src/main/assets/HelveticaNeueLTCom-Th.ttf
HelveticaNeueLTCom-ThIt.ttf=app/src/main/assets/HelveticaNeueLTCom-ThIt.ttf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pushServiceProjectId=2

# PSPDFKit
pspdfMavenUser=pspdfkit
pspdfMavenPass=TRIAL-Gkpss4ZmwCOyNtJeyQTcSZVIMoL1jmcb8STL4Y_RNt2nLsKxw3HLhkR9q6UKawrAF2CKzojYBpu3uLmU80HtPA
pspdfMavenPass=jZdwMw7uqYGuKc6RxYLuEPwYqyvYQQ
pspdfkitLicenseKey=TRIAL-Gkpss4ZmwCOyNtJeyQTcSZVIMoL1jmcb8STL4Y_RNt2nLsKxw3HLhkR9q6UKawrAF2CKzojYBpu3uLmU80HtPA