mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-07 12:37:45 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe1cd8c7e4 | ||
|
|
9b00b9305f | ||
|
|
de40bbb5d9 | ||
|
|
2c1cfa8b8d |
@@ -3,10 +3,10 @@ id: 1732900d-e173-47c1-a90d-d45182eb35d9
|
|||||||
management:
|
management:
|
||||||
docChecksum: a6fee1797b2da7ccbaf7743772a40b56
|
docChecksum: a6fee1797b2da7ccbaf7743772a40b56
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.396.6
|
speakeasyVersion: 1.397.2
|
||||||
generationVersion: 2.415.6
|
generationVersion: 2.415.8
|
||||||
releaseVersion: 0.3.0
|
releaseVersion: 0.3.2
|
||||||
configChecksum: 3d05baf8e1c438b2f143cf945c6735bd
|
configChecksum: 948a0b278135b05b4e94954d9146736e
|
||||||
repoURL: https://github.com/LukeHagar/plexjava.git
|
repoURL: https://github.com/LukeHagar/plexjava.git
|
||||||
published: true
|
published: true
|
||||||
features:
|
features:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: true
|
oAuth2ClientCredentialsEnabled: true
|
||||||
java:
|
java:
|
||||||
version: 0.3.0
|
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
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
plexapi:
|
||||||
inputs:
|
inputs:
|
||||||
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
|
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
|
||||||
targets:
|
targets:
|
||||||
plexjava:
|
plexjava:
|
||||||
target: java
|
target: java
|
||||||
source: my-source
|
source: plexapi
|
||||||
publish:
|
publish:
|
||||||
java:
|
java:
|
||||||
ossrhUsername: J4dlHj0l
|
ossrhUsername: J4dlHj0l
|
||||||
@@ -17,4 +17,4 @@ targets:
|
|||||||
codeSamples:
|
codeSamples:
|
||||||
output: codeSamples.yaml
|
output: codeSamples.yaml
|
||||||
registry:
|
registry:
|
||||||
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava
|
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-java-plexjava
|
||||||
|
|||||||
@@ -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.0'
|
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.0</version>
|
<version>0.3.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
20
RELEASES.md
20
RELEASES.md
@@ -9,3 +9,23 @@ Based on:
|
|||||||
- [java v0.3.0] .
|
- [java v0.3.0] .
|
||||||
### Releases
|
### 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 - .
|
||||||
37
build.gradle
37
build.gradle
@@ -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.0"
|
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.0'
|
version = '0.3.2'
|
||||||
|
|
||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
|
|||||||
@@ -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.0";
|
public String sdkVersion = "0.3.2";
|
||||||
public String genVersion = "2.415.6";
|
public String genVersion = "2.415.8";
|
||||||
public String userAgent = "speakeasy-sdk/java 0.3.0 2.415.6 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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user