Compare commits

..

2 Commits

Author SHA1 Message Date
speakeasybot
fe1cd8c7e4 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2 2024-09-16 18:34:13 +00:00
Luke Hagar
9b00b9305f Update gen.yaml 2024-09-16 13:31:58 -05:00
6 changed files with 43 additions and 21 deletions

View File

@@ -5,8 +5,8 @@ management:
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.397.2 speakeasyVersion: 1.397.2
generationVersion: 2.415.8 generationVersion: 2.415.8
releaseVersion: 0.3.1 releaseVersion: 0.3.2
configChecksum: 365985ca4474ceebb12c82aa370666a5 configChecksum: 948a0b278135b05b4e94954d9146736e
repoURL: https://github.com/LukeHagar/plexjava.git repoURL: https://github.com/LukeHagar/plexjava.git
published: true published: true
features: features:

View File

@@ -12,7 +12,7 @@ generation:
auth: auth:
oAuth2ClientCredentialsEnabled: true oAuth2ClientCredentialsEnabled: true
java: java:
version: 0.3.1 version: 0.3.2
additionalDependencies: [] additionalDependencies: []
additionalPlugins: [] additionalPlugins: []
artifactID: plexapi artifactID: plexapi
@@ -37,7 +37,6 @@ java:
shortName: MIT shortName: MIT
url: https://mit-license.org/ url: https://mit-license.org/
maxMethodParams: 4 maxMethodParams: 4
ossrhURL: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
outputModelSuffix: output outputModelSuffix: output
packageName: dev.plexapi.sdk packageName: dev.plexapi.sdk
projectName: plexapi projectName: plexapi

View File

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

View File

@@ -18,4 +18,14 @@ Based on:
### Generated ### Generated
- [java v0.3.1] . - [java v0.3.1] .
### Releases ### Releases
- [Maven Central v0.3.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.1 - . - [Maven Central v0.3.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.1 - .
## 2024-09-16 18:32:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.2] .
### Releases
- [Maven Central v0.3.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.2 - .

View File

@@ -14,6 +14,7 @@ plugins {
id 'java-library' id 'java-library'
id 'maven-publish' id 'maven-publish'
id 'signing' id 'signing'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
} }
compileJava.options.encoding = "UTF-8" compileJava.options.encoding = "UTF-8"
@@ -40,6 +41,7 @@ model {
jar { jar {
dependsOn(":generatePomFileForMavenPublication") dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "plexapi"
into("META-INF/maven/dev.plexapi/plexapi") { into("META-INF/maven/dev.plexapi/plexapi") {
from("$buildDir/pom.xml") from("$buildDir/pom.xml")
@@ -61,7 +63,7 @@ tasks.withType(Javadoc) {
} }
group = "dev.plexapi" group = "dev.plexapi"
version = "0.3.1" version = "0.3.2"
sourcesJar { sourcesJar {
archiveBaseName = "plexapi" archiveBaseName = "plexapi"
@@ -70,25 +72,36 @@ sourcesJar {
javadocJar { javadocJar {
archiveBaseName = "plexapi" archiveBaseName = "plexapi"
} }
sonatypeCentralUpload {
// This is your Sonatype generated username
username = System.getenv("SONATYPE_USERNAME")
// This is your sonatype generated password
password = System.getenv("SONATYPE_PASSWORD")
// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
archives = files(
"$buildDir/libs/plexapi-${version}.jar",
"$buildDir/libs/plexapi-${version}-sources.jar",
"$buildDir/libs/plexapi-${version}-javadoc.jar"
)
// This is the pom file to upload. This is required by central
pom = file("$buildDir/pom.xml")
// This is your PGP private key. This is required to sign your files
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
// This is your PGP private key passphrase to decrypt your private key
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
}
publishing { 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 { publications {
maven(MavenPublication) { maven(MavenPublication) {
groupId = 'dev.plexapi' groupId = 'dev.plexapi'
artifactId = 'plexapi' artifactId = 'plexapi'
version = '0.3.1' version = '0.3.2'
from components.java from components.java

View File

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