mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-11 04:20:58 +00:00
updated publishing
This commit is contained in:
@@ -5,8 +5,9 @@ management:
|
|||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.392.1
|
speakeasyVersion: 1.392.1
|
||||||
generationVersion: 2.411.9
|
generationVersion: 2.411.9
|
||||||
releaseVersion: 0.2.1
|
releaseVersion: 0.2.2
|
||||||
configChecksum: dd7feeff69752107879de19912c4170f
|
configChecksum: ae73d5d4de760abea0e7ac40dd4cd90e
|
||||||
|
published: true
|
||||||
features:
|
features:
|
||||||
java:
|
java:
|
||||||
additionalDependencies: 0.1.0
|
additionalDependencies: 0.1.0
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: true
|
oAuth2ClientCredentialsEnabled: true
|
||||||
java:
|
java:
|
||||||
version: 0.2.1
|
version: 0.2.2
|
||||||
additionalDependencies: []
|
additionalDependencies: []
|
||||||
additionalPlugins: []
|
additionalPlugins: []
|
||||||
artifactID: plexapi
|
artifactID: plexapi
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ targets:
|
|||||||
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
|
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
|
||||||
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
||||||
codeSamplesNamespace: code-samples-java-plexjava
|
codeSamplesNamespace: code-samples-java-plexjava
|
||||||
codeSamplesRevisionDigest: sha256:27e9ddcf184b3b85da657c183692c4d490f1e6887e82efdcacdb3251b5595f16
|
codeSamplesRevisionDigest: sha256:433262f0bd16ad4072c5c38628e30fd0ee2dcfbdb3547262f0f4d328a6960ede
|
||||||
outLocation: /home/luke/github/plexjava
|
outLocation: /home/luke/github/plexjava
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
@@ -26,6 +26,12 @@ workflow:
|
|||||||
plexjava:
|
plexjava:
|
||||||
target: java
|
target: java
|
||||||
source: my-source
|
source: my-source
|
||||||
|
publish:
|
||||||
|
java:
|
||||||
|
ossrhUsername: J4dlHj0l
|
||||||
|
ossrhPassword: $ossrh_password
|
||||||
|
gpgSecretKey: $java_gpg_secret_key
|
||||||
|
gpgPassPhrase: $java_gpg_passphrase
|
||||||
codeSamples:
|
codeSamples:
|
||||||
output: codeSamples.yaml
|
output: codeSamples.yaml
|
||||||
registry:
|
registry:
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ The samples below show how a published SDK artifact is used:
|
|||||||
|
|
||||||
Gradle:
|
Gradle:
|
||||||
```groovy
|
```groovy
|
||||||
implementation 'dev.plexapi:plexapi:0.2.1'
|
implementation 'dev.plexapi:plexapi:0.2.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.2.1</version>
|
<version>0.2.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
14
build.gradle
14
build.gradle
@@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.plexapi"
|
group = "dev.plexapi"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
|
|
||||||
sourcesJar {
|
sourcesJar {
|
||||||
archiveBaseName = "plexapi"
|
archiveBaseName = "plexapi"
|
||||||
@@ -73,12 +73,22 @@ javadocJar {
|
|||||||
|
|
||||||
|
|
||||||
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.2.1'
|
version = '0.2.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.2.1";
|
public String sdkVersion = "0.2.2";
|
||||||
public String genVersion = "2.411.9";
|
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();
|
private Hooks _hooks = createHooks();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user