Skip to content

Commit 49b6dc9

Browse files
committed
feat: adds experimental plugin functionality
1 parent a682e5e commit 49b6dc9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
name: Get secrets
5858
with:
5959
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
60-
ssm_parameter_pairs: '/production/common/releasing/sonatype/username = SONATYPE_USER_NAME,
61-
/production/common/releasing/sonatype/password = SONATYPE_PASSWORD,
60+
ssm_parameter_pairs: '/production/common/releasing/sonatype/central/username = SONATYPE_USER_NAME,
61+
/production/common/releasing/sonatype/central/password = SONATYPE_PASSWORD,
6262
/production/common/releasing/android_code_signing/private_key_id = SIGNING_KEY_ID,
6363
/production/common/releasing/android_code_signing/private_key_passphrase = SIGNING_KEY_PASSPHRASE'
6464
s3_path_pairs: 'launchdarkly-releaser/android/code-signing-keyring.gpg = code-signing-keyring.gpg'

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ subprojects {
6262
nexusPublishing {
6363
packageGroup = "com.launchdarkly"
6464
repositories {
65-
sonatype()
65+
sonatype{
66+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
67+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
68+
}
6669
}
6770
}

launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) {
435435
}
436436

437437
/**
438+
* This is an experimental API and may be removed/changed in the future without notice. It is
439+
* marked as deprecated as Java does not have built in support for an experimental annotation.
440+
*
438441
* Sets the SDK's plugins configuration, using a builder. This is normally a obtained from
439442
* <p>
440443
* {@link Components#plugins()} ()}, which has methods for setting individual plugin
@@ -444,6 +447,7 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) {
444447
* @return the main configuration builder
445448
* @see Components#plugins()
446449
*/
450+
@Deprecated()
447451
public Builder plugins(PluginsConfigurationBuilder pluginsConfiguration) {
448452
this.pluginsConfigurationBuilder = pluginsConfiguration;
449453
return this;

0 commit comments

Comments
 (0)