@@ -12,7 +12,7 @@ feature flagging and experimentation for Eppo customers. An API key is required
12
12
13
13
``` groovy
14
14
dependencies {
15
- implementation 'cloud.eppo:android-sdk:4.10.0 '
15
+ implementation 'cloud.eppo:android-sdk:4.10.1 '
16
16
}
17
17
18
18
dependencyResolutionManagement {
@@ -24,7 +24,7 @@ dependencyResolutionManagement {
24
24
}
25
25
}
26
26
```
27
- Snapshots of the development version are available in [ Maven Central's snapshotsrepository ] ( https://central.sonatype.com/repository/maven-snapshot ) .
27
+ Snapshots of the development version are available in [ Maven Central's snapshots repository ] ( https://central.sonatype.com/repository/maven-snapshots ) .
28
28
29
29
## Releasing a new version
30
30
@@ -34,20 +34,20 @@ For publishing a release locally, instead, follow the steps below.
34
34
35
35
### Prerequisites
36
36
37
- 1 . [ Generate a user token] ( https://central.sonatype.org/publish/generate-token/ ) on ` s01.oss. sonatype.org ` ;
37
+ 1 . [ Generate a user token] ( https://central.sonatype.org/publish/generate-token/ ) on ` central. sonatype.com ` ;
38
38
2 . [ Configure a GPG key] ( https://central.sonatype.org/publish/requirements/gpg/ ) for signing the artifact. Don't forget to upload it to the key server;
39
39
3 . Make sure you have the following vars in your ` ~/.gradle/gradle.properties ` file:
40
- 1 . ` ossrhUsername ` - User token username for Sonatype generated in step 1
41
- 2 . ` ossrhPassword ` - User token password for Sonatype generated in step 1
40
+ 1 . ` mavenCentralUsername ` - User token username for Central Portal generated in step 1
41
+ 2 . ` mavenCentralPassword ` - User token password for Central Portal generated in step 1
42
42
3 . ` signing.keyId ` - GPG key ID generated in step 2
43
43
4 . ` signing.password ` - GPG key password generated in step 2
44
44
5 . ` signing.secretKeyRingFile ` - Path to GPG key file generated in step 2
45
45
46
46
Once you have the prerequisites, follow the steps below to release a new version:
47
47
48
48
1 . Bump the project version in ` build.gradle `
49
- 2 . Run ` ./gradlew publish -Prelease ` or ` ./gradlew publish -Psnapshot `
50
- 3 . Follow the steps in [ this page ] ( https://central.sonatype.org/publish/release/#credentials ) to promote your release
49
+ 2 . Run ` ./gradlew eppo: publish -Prelease ` or ` ./gradlew eppo: publish -Psnapshot `
50
+ 3 . For releases, run ` ./gradlew eppo:publishAndReleaseToMavenCentral -Prelease ` to automatically release to Maven Central
51
51
52
52
## Getting Started
53
53
For information on usage, refer to our [ SDK Documentation] ( https://docs.geteppo.com/sdks/client-sdks/android/ ) .
0 commit comments