updated publishing

This commit is contained in:
Luke Hagar
2024-09-08 02:47:27 +00:00
parent ac5716c20d
commit ac816582a6
6 changed files with 27 additions and 10 deletions

View File

@@ -5,8 +5,9 @@ management:
docVersion: 0.0.3
speakeasyVersion: 1.392.1
generationVersion: 2.411.9
releaseVersion: 0.2.1
configChecksum: dd7feeff69752107879de19912c4170f
releaseVersion: 0.2.2
configChecksum: ae73d5d4de760abea0e7ac40dd4cd90e
published: true
features:
java:
additionalDependencies: 0.1.0

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 0.2.1
version: 0.2.2
additionalDependencies: []
additionalPlugins: []
artifactID: plexapi

View File

@@ -13,7 +13,7 @@ targets:
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
codeSamplesNamespace: code-samples-java-plexjava
codeSamplesRevisionDigest: sha256:27e9ddcf184b3b85da657c183692c4d490f1e6887e82efdcacdb3251b5595f16
codeSamplesRevisionDigest: sha256:433262f0bd16ad4072c5c38628e30fd0ee2dcfbdb3547262f0f4d328a6960ede
outLocation: /home/luke/github/plexjava
workflow:
workflowVersion: 1.0.0
@@ -26,6 +26,12 @@ workflow:
plexjava:
target: java
source: my-source
publish:
java:
ossrhUsername: J4dlHj0l
ossrhPassword: $ossrh_password
gpgSecretKey: $java_gpg_secret_key
gpgPassPhrase: $java_gpg_passphrase
codeSamples:
output: codeSamples.yaml
registry:

View File

@@ -37,7 +37,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
implementation 'dev.plexapi:plexapi:0.2.1'
implementation 'dev.plexapi:plexapi:0.2.2'
```
Maven:
@@ -45,7 +45,7 @@ Maven:
<dependency>
<groupId>dev.plexapi</groupId>
<artifactId>plexapi</artifactId>
<version>0.2.1</version>
<version>0.2.2</version>
</dependency>
```

View File

@@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
}
group = "dev.plexapi"
version = "0.2.1"
version = "0.2.2"
sourcesJar {
archiveBaseName = "plexapi"
@@ -73,12 +73,22 @@ javadocJar {
publishing {
repositories {
maven {
name = "OSSRH"
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
publications {
maven(MavenPublication) {
groupId = 'dev.plexapi'
artifactId = 'plexapi'
version = '0.2.1'
version = '0.2.2'
from components.java

View File

@@ -36,9 +36,9 @@ class SDKConfiguration {
} };
public String language = "java";
public String openapiDocVersion = "0.0.3";
public String sdkVersion = "0.2.1";
public String sdkVersion = "0.2.2";
public String genVersion = "2.411.9";
public String userAgent = "speakeasy-sdk/java 0.2.1 2.411.9 0.0.3 dev.plexapi.sdk";
public String userAgent = "speakeasy-sdk/java 0.2.2 2.411.9 0.0.3 dev.plexapi.sdk";
private Hooks _hooks = createHooks();