Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanarodr committed May 5, 2024
1 parent 3a8ed57 commit 94f401d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Stonks é um projeto mobile desenvolvido para a plataforma Android, utilizado pa
Para o processo de instalação e execução do projeto, instale a versão mais recente do [Android Studio](https://developer.android.com/studio) e ao carregar o projeto, siga os passos abaixo:

- Certifique-se que o arquivo gerando na pasta `.gradle/config.properties` contém o mesmo caminho presente na variável de ambiente `JAVA_HOME` configurado em seu usuário;

- Execute o script de setup do projeto para instalação do hook de *pre-commit* responsável pela execução do detekt:
- Acesse o arquivo `build.gradle` do módulo network e informe a chave de autorização do GitHub no [AUTHORIZATION_KEY](https://github.com/jonathanarodr/stonks/blob/main/infrastructure/network/build.gradle.kts#L15) ([saiba mais](https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api?apiVersion=2022-11-28#basic-authentication))

```
sh ./tools/setup.sh
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ android {
defaultConfig {
buildConfigField("String", "SERVER_URL", "\"https://api.github.com\"")
buildConfigField("String", "SERVER_PATH", "\"/repos/jonathanarodr/stonks/contents/mocks\"")
buildConfigField("String", "AUTHORIZATION_KEY", "\"ghp_{YOUR_KEY}\"")
buildConfigField("String", "AUTHORIZATION_KEY", "\"ghp_{YOUR_API_KEY}\"")
}
}

dependencies {
testImplementation(projects.testing)
implementation(projects.common)

implementation(platform(libs.okhttp.bom))
Expand Down

0 comments on commit 94f401d

Please sign in to comment.