diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a6f2eebf..aa2d4077 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,8 +57,8 @@ jobs: name: Get secrets with: aws_assume_role: ${{ vars.AWS_ROLE_ARN }} - ssm_parameter_pairs: '/production/common/releasing/sonatype/username = SONATYPE_USER_NAME, - /production/common/releasing/sonatype/password = SONATYPE_PASSWORD, + ssm_parameter_pairs: '/production/common/releasing/sonatype/central/username = SONATYPE_USER_NAME, + /production/common/releasing/sonatype/central/password = SONATYPE_PASSWORD, /production/common/releasing/android_code_signing/private_key_id = SIGNING_KEY_ID, /production/common/releasing/android_code_signing/private_key_passphrase = SIGNING_KEY_PASSPHRASE' s3_path_pairs: 'launchdarkly-releaser/android/code-signing-keyring.gpg = code-signing-keyring.gpg' diff --git a/build.gradle b/build.gradle index 25219e41..c1cb43a1 100644 --- a/build.gradle +++ b/build.gradle @@ -62,6 +62,9 @@ subprojects { nexusPublishing { packageGroup = "com.launchdarkly" repositories { - sonatype() + sonatype{ + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) + } } } diff --git a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java index 2db4576c..42b827eb 100644 --- a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java +++ b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java @@ -435,6 +435,9 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) { } /** + * This is an experimental API and may be removed/changed in the future without notice. It is + * marked as deprecated as Java does not have built in support for an experimental annotation. + * * Sets the SDK's plugins configuration, using a builder. This is normally a obtained from *

* {@link Components#plugins()} ()}, which has methods for setting individual plugin @@ -444,6 +447,7 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) { * @return the main configuration builder * @see Components#plugins() */ + @Deprecated() public Builder plugins(PluginsConfigurationBuilder pluginsConfiguration) { this.pluginsConfigurationBuilder = pluginsConfiguration; return this;