Compare commits

..

4 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
speakeasybot
de40bbb5d9 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2 2024-09-16 18:24:27 +00:00
Luke Hagar
2c1cfa8b8d Update workflow.yaml 2024-09-16 13:15:07 -05:00
7 changed files with 60 additions and 28 deletions

View File

@@ -3,10 +3,10 @@ id: 1732900d-e173-47c1-a90d-d45182eb35d9
management:
docChecksum: a6fee1797b2da7ccbaf7743772a40b56
docVersion: 0.0.3
speakeasyVersion: 1.396.6
generationVersion: 2.415.6
releaseVersion: 0.3.0
configChecksum: 3d05baf8e1c438b2f143cf945c6735bd
speakeasyVersion: 1.397.2
generationVersion: 2.415.8
releaseVersion: 0.3.2
configChecksum: 948a0b278135b05b4e94954d9146736e
repoURL: https://github.com/LukeHagar/plexjava.git
published: true
features:

View File

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

View File

@@ -1,13 +1,13 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
plexapi:
inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
targets:
plexjava:
target: java
source: my-source
source: plexapi
publish:
java:
ossrhUsername: J4dlHj0l
@@ -17,4 +17,4 @@ targets:
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-java-plexjava

View File

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

View File

@@ -8,4 +8,24 @@ Based on:
### Generated
- [java v0.3.0] .
### Releases
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.0 - .
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.0 - .
## 2024-09-16 18:23:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.1] .
### Releases
- [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 'maven-publish'
id 'signing'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
}
compileJava.options.encoding = "UTF-8"
@@ -40,6 +41,7 @@ model {
jar {
dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "plexapi"
into("META-INF/maven/dev.plexapi/plexapi") {
from("$buildDir/pom.xml")
@@ -61,7 +63,7 @@ tasks.withType(Javadoc) {
}
group = "dev.plexapi"
version = "0.3.0"
version = "0.3.2"
sourcesJar {
archiveBaseName = "plexapi"
@@ -70,25 +72,36 @@ sourcesJar {
javadocJar {
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 {
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.3.0'
version = '0.3.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.3.0";
public String genVersion = "2.415.6";
public String userAgent = "speakeasy-sdk/java 0.3.0 2.415.6 0.0.3 dev.plexapi.sdk";
public String sdkVersion = "0.3.2";
public String genVersion = "2.415.8";
public String userAgent = "speakeasy-sdk/java 0.3.2 2.415.8 0.0.3 dev.plexapi.sdk";
private Hooks _hooks = createHooks();