Skip to content

Commit 08364c6

Browse files
committed
docs: update docs with maven central coordinates
1 parent 2f14ff5 commit 08364c6

4 files changed

Lines changed: 14 additions & 32 deletions

File tree

README.MD

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,16 @@ on [this design document](https://docs.google.com/document/d/1BcX7W9HEBays5puwcR
1111
(See [sample app](sample) for examples)
1212

1313
### Installation
14-
15-
During the experimental phase, library is not yet pushed to the maven central. To use it, you will have to use Jitlpack
16-
to include it.
17-
18-
First add Jitpack to your maven repositories:
19-
20-
```kotlin
21-
repositories {
22-
maven { url = uri("https://jitpack.io") }
23-
}
2414
```
25-
2615
Then you can include it like this:
2716
```kotlin
28-
implementation("com.github.pebble-dev.PebbleKitAndroid2:client:a90205210d")
17+
implementation("io.rebble.pebblekit2:client:X.Y.Z")
2918
```
3019

20+
Replace `X.Y.Z` with latest version. Check out [releases](https://github.com/pebble-dev/PebbleKitAndroid2/releases) to
21+
see what is the latest
22+
version.
23+
3124
[More detailed instructions](https://jitpack.io/#pebble-dev/PebbleKitAndroid2/client)
3225

3326
### Reference your app in the watchapp
@@ -230,7 +223,7 @@ Now, PebbleKit will only talk to the app with the `pebbleAppPackage` package.
230223

231224
To help with the above selection of the target app, out of the box permission prompt Composable is provided. To use, first depend on the `client-ui` module:
232225

233-
`implementation("com.github.pebble-dev.PebbleKitAndroid2:client-ui:...")`
226+
`implementation("io.rebble.pebblekit2:client-ui:X.Y.Z")`
234227

235228
Then you can call the dialog in your Jetpack Compose code:
236229

docs/SERVER.MD

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,13 @@ This document is for implementing server-side of the PebbleKit2 in a custom Pebb
22

33
# Installation
44

5-
During the experimental phase, library is not yet pushed to the maven central. To use it, you will have to use Jitlpack
6-
to include it.
7-
8-
First add Jitpack to your maven repositories:
9-
10-
```kotlin
11-
repositories {
12-
maven { url = uri("https://jitpack.io") }
13-
}
14-
```
15-
16-
Then you can include it like this:
17-
185
```kotlin
19-
implementation("com.github.pebble-dev.PebbleKitAndroid2:server:08f925b77f")
6+
implementation("io.rebble.pebblekit2:server:X.Y.Z")
207
```
218

22-
[More detailed instructions](https://jitpack.io/#pebble-dev/PebbleKitAndroid2/server)
9+
Replace `X.Y.Z` with latest version. Check out [releases](https://github.com/pebble-dev/PebbleKitAndroid2/releases) to
10+
see what is the latest
11+
version.
2312

2413
# Receiving data from apps
2514

sample/android-java/gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ appcompat = "1.7.1"
77
material = "1.10.0"
88
activity = "1.12.2"
99
constraintlayout = "2.2.1"
10-
pebblekit = "08f925b77f"
10+
pebblekit = "0.1.0"
1111

1212
[libraries]
1313
junit = { group = "junit", name = "junit", version.ref = "junit" }
@@ -17,7 +17,7 @@ appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "a
1717
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
1818
activity = { group = "androidx.activity", name = "activity", version.ref = "activity" }
1919
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
20-
pebblekit = { module = "com.github.pebble-dev.PebbleKitAndroid2:client-java", version.ref = "pebblekit" }
20+
pebblekit = { module = "io.rebble.pebblekit2:client-java", version.ref = "pebblekit" }
2121

2222
[plugins]
2323
android-application = { id = "com.android.application", version.ref = "agp" }

sample/android/gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ espressoCore = "3.7.0"
88
lifecycleRuntimeKtx = "2.9.4"
99
activityCompose = "1.11.0"
1010
composeBom = "2024.09.00"
11-
pebblekit = "08f925b77f"
11+
pebblekit = "0.1.0"
1212

1313

1414
[libraries]
@@ -28,7 +28,7 @@ androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit
2828
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
2929
# Synthetic library declaration that then gets replaced with the included pebblekit, until
3030
# it is stable enough to make a release
31-
pebblekit = { module = "com.github.pebble-dev.PebbleKitAndroid2:client", version.ref = "pebblekit" }
31+
pebblekit = { module = "io.rebble.pebblekit2:client", version.ref = "pebblekit" }
3232

3333

3434
[plugins]

0 commit comments

Comments
 (0)