Skip to content

Commit

Permalink
Merge pull request #33 from hathora/speakeasy-sdk-regen-1721952344
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 2.7.5
  • Loading branch information
gwprice115 authored Jul 26, 2024
2 parents bf1e507 + d1aca8b commit 26ca0e5
Show file tree
Hide file tree
Showing 8 changed files with 309 additions and 275 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 0.0.1
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 2.7.4
configChecksum: c73c658c3de1a89b03ded99e4fd6866f
releaseVersion: 2.7.5
configChecksum: 23014641d5b55317f2f7a777b31cd51a
repoURL: https://github.com/hathora/cloud-sdk-java.git
repoSubDirectory: .
published: true
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.346.0
sources:
java-source:
sourceNamespace: java-source
sourceRevisionDigest: sha256:7e514692261bdec49b33664de18332e1b30788359cc30e351bdc05f978decc93
sourceBlobDigest: sha256:6878db9c692c00ab4db6a4eb09ca09c14e4200918ef08e929c9359773d5f770e
sourceRevisionDigest: sha256:7ce9e318d09f967d27826a8c34a5e57fd7754bf3ffcb31a4342deab13daf8ded
sourceBlobDigest: sha256:51d5575b76d31db81f6108f016de819176a21814bda5b4c6cd1f27ede51dbdf0
tags:
- latest
- main
targets:
hathora-java:
source: java-source
sourceNamespace: java-source
sourceRevisionDigest: sha256:7e514692261bdec49b33664de18332e1b30788359cc30e351bdc05f978decc93
sourceBlobDigest: sha256:6878db9c692c00ab4db6a4eb09ca09c14e4200918ef08e929c9359773d5f770e
sourceRevisionDigest: sha256:7ce9e318d09f967d27826a8c34a5e57fd7754bf3ffcb31a4342deab13daf8ded
sourceBlobDigest: sha256:51d5575b76d31db81f6108f016de819176a21814bda5b4c6cd1f27ede51dbdf0
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'dev.hathora:cloud-api:2.7.4'
implementation 'dev.hathora:cloud-api:2.7.5'
```

Maven:
```xml
<dependency>
<groupId>dev.hathora</groupId>
<artifactId>cloud-api</artifactId>
<version>2.7.4</version>
<version>2.7.5</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,14 @@ Based on:
### Generated
- [java v2.7.4] .
### Releases
- [Maven Central v2.7.4] https://central.sonatype.com/artifact/dev.hathora/cloud-api/2.7.4 - .
- [Maven Central v2.7.4] https://central.sonatype.com/artifact/dev.hathora/cloud-api/2.7.4 - .

## 2024-07-26 00:05:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.346.0 (2.379.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.7.5] .
### Releases
- [Maven Central v2.7.5] https://central.sonatype.com/artifact/dev.hathora/cloud-api/2.7.5 - .
46 changes: 35 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0'
}

compileJava.options.encoding = "UTF-8"
Expand All @@ -39,6 +40,7 @@ model {

jar {
dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "cloud-api"

into("META-INF/maven/dev.hathora/cloud-api") {
from("$buildDir/pom.xml")
Expand All @@ -59,23 +61,45 @@ tasks.withType(Javadoc) {
failOnError false
options.addStringOption('Xdoclint:none', '-quiet')
}
group = "dev.hathora"
version = "2.7.5"

sourcesJar {
archiveBaseName = "cloud-api"
}

javadocJar {
archiveBaseName = "cloud-api"
}

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/cloud-api-${version}.jar",
"$buildDir/libs/cloud-api-${version}-sources.jar",
"$buildDir/libs/cloud-api-${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.hathora'
artifactId = 'cloud-api'
version = '2.7.4'
version = '2.7.5'

from components.java

Expand Down
504 changes: 252 additions & 252 deletions codeSamples.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
baseServerURL: ""
flattenGlobalSecurity: true
java:
version: 2.7.4
version: 2.7.5
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter-api:5.8.1
- testRuntimeOnly:org.junit.jupiter:junit-jupiter-engine:5.8.1
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/dev/hathora/cloud_api/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public Optional<SecuritySource> securitySource() {
public int serverIdx = 0;
public String language = "java";
public String openapiDocVersion = "0.0.1";
public String sdkVersion = "2.7.4";
public String sdkVersion = "2.7.5";
public String genVersion = "2.379.3";
public String userAgent = "speakeasy-sdk/java 2.7.4 2.379.3 0.0.1 dev.hathora.cloud_api";
public String userAgent = "speakeasy-sdk/java 2.7.5 2.379.3 0.0.1 dev.hathora.cloud_api";

private dev.hathora.cloud_api.utils.Hooks _hooks = createHooks();

Expand Down

0 comments on commit 26ca0e5

Please sign in to comment.