Skip to content

Commit

Permalink
Prepare for open-sourcing, no longer need JitPack creds.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmilekic committed May 31, 2021
1 parent b37739a commit 7e9eaee
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion DemoApp/DemoAppJava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ allprojects {
jcenter()
maven {
url "https://jitpack.io"
credentials { username authToken }
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions DemoApp/DemoAppJava/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ org.gradle.jvmargs=-Xmx2048m
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Jitpack.io authToken for accessing PRIVATE GitHub repo to build co.optable.android_sdk depend:
authToken=jp_usu041v753rg6asheri00bjihl
android.enableJetifier=true
1 change: 0 additions & 1 deletion DemoApp/DemoAppKotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ allprojects {
jcenter()
maven {
url "https://jitpack.io"
credentials { username authToken }
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions DemoApp/DemoAppKotlin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Jitpack.io authToken for accessing PRIVATE GitHub repo to build co.optable.android_sdk depend:
authToken=jp_usu041v753rg6asheri00bjihl
kotlin.code.style=official
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,12 @@ allprojects {
...
maven {
url 'https://jitpack.io'
credentials { username authToken }
}
}
}
```

In order to allow [JitPack](https://jitpack.io/) to access this private GitHub repository, add the following authToken to your `gradle.properties`:

```
authToken=jp_usu041v753rg6asheri00bjihl
```

Finally, add the dependency to the SDK in your app `build.gradle`:
Then add the dependency to the SDK in your app `build.gradle`:

```kotlin
dependencies {
Expand Down

0 comments on commit 7e9eaee

Please sign in to comment.