Skip to content

Commit

Permalink
πŸ”„ synced local './README.md' with remote './README.md'
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Jul 28, 2023
1 parent 0c8ae2d commit 29c2fac
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
# w3s-android-sdk

## Installation

Add the maven repository to your gradle file:

Add the maven repository to your gradle file. It's suggested that load settings from `local.properties`:
```gradle
repositories {
...
maven { url 'https://maven.pkg.github.com/circlefin/w3s-android-sdk' }
maven {
Properties properties = new Properties()
// Load local.properties.
properties.load(new File(rootDir.absolutePath + "/local.properties").newDataInputStream())
url properties.getProperty('pwsdk.maven.url')
credentials {
username properties.getProperty('pwsdk.maven.username')
password properties.getProperty('pwsdk.maven.password')
}
}
}
```
Add the maven setting values in `local.properties` file:
```properties
pwsdk.maven.url=https://maven.pkg.github.com/circlefin/w3s-android-sdk
pwsdk.maven.username=<GITHUB_USERNAME>
# Fine-grained personal access tokens or classic with package write permission.
pwsdk.maven.password=<GITHUB_PAT>

```

Add the dependency:
Expand Down

0 comments on commit 29c2fac

Please sign in to comment.