33 1 . If necessary update the dependencies manually OR
44 2 . Regenerate and update the ` build.gradle ` file.
55 1 . Before generating the client code, remove the ` build.gradle ` from the ` .openapi-generator-ignore ` file.
6- 2 . In the newly generated ` build.gradle ` , set up the ` signing ` and ` publication ` task as before the regeneration.
7- 3 . Set up the JavaDoc and Source generation ` withJavadocJar() ` and ` withSourcesJar() ` extensions .
6+ 2 . In the newly generated ` build.gradle ` , set up the ` mavenPublishing ` task as before the regeneration.
7+ 3 . Clean out any not necessary task or dependencies .
88 4 . After generation, add the ` build.gradle ` back to the ignore file.
992 . Update the version in the ` build.gradle ` file.
10103 . Commit & Push
@@ -26,9 +26,7 @@ Use the **same version** for the git tag as in the properties file.
2626 Create a new [Github release](https://github.com/configcat/configcat-publicapi-java-client/releases) with a new version tag and release notes.
2727
2828# # Sync
29- 1. Log in to [Maven Repository](https://oss.sonatype.org/) and follow these steps:
30- 1. Select ` Staging Repositories` and select the version you published.
31- 2. Click ` Close` . The process might take some time, click ` Refresh` to get the latest state.
32- 3. When the repo is closed click ` Release` , tick the ` Automatically drop when released` option.
33- 2. Make sure the new version is available on [Maven Central](https://search.maven.org/artifact/com.configcat/configcat-publicapi-java-client).
34-
29+ 1. Log in to [Maven Central Repository](https://central.sonatype.org/) and follow these steps:
30+ 1. Go to the ` Publish` page and select the version you published.
31+ 2. Click ` Publish` . The process might take some time, click ` Refresh` to get the latest state.
32+ 2. Make sure the new version is available on [Maven Central](https://central.sonatype.com/artifact/com.configcat/configcat-publicapi-java-client).
0 commit comments