Skip to content

Commit

Permalink
Merge pull request #48 from CathalOConnorRH/dev
Browse files Browse the repository at this point in the history
Merge changes for CI automation fix
  • Loading branch information
CathalOConnorRH authored May 1, 2024
2 parents 7f123c2 + d72b618 commit 9809cbe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ app/release/*
build/
# Local configuration file (sdk path, etc)
*.properties
apikey.properties

# Proguard folder generated by Eclipse
proguard/
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
1 change: 1 addition & 0 deletions apikey.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tripadvisor=<API_KEY>
6 changes: 2 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ android {
properties.load(keystoreFile.inputStream())

//return empty key in case something goes wrong
val maps = properties.getProperty("maps") ?: ""
val tripadvisor = properties.getProperty("tripadvisor")
val openai = properties.getProperty("openai")
val maps = properties.getProperty("maps") ?: "<API_KEY>"
val tripadvisor = properties.getProperty("tripadvisor")?: "<API_KEY>"

resValue("string", "maps" , maps)
resValue("string", "tripadvisor" , tripadvisor)
resValue("string", "openai" , openai)

applicationId = "ie.coconnor.mobileappdev"
minSdk = 25
Expand Down

0 comments on commit 9809cbe

Please sign in to comment.