Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.398.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and flemzord committed Sep 17, 2024
1 parent 26b595a commit 0f86231
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 23 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: v2.0.17
speakeasyVersion: 1.398.0
generationVersion: 2.415.8
releaseVersion: 3.2.0
configChecksum: 08459f99cf99f02ef41a8921da541196
releaseVersion: 3.2.1
configChecksum: ddd0da4d64e06dbe725d39df1666921f
repoURL: https://github.com/formancehq/formance-sdk-java.git
repoSubDirectory: .
published: true
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ speakeasyVersion: 1.398.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:510ed00121f483186ba4e77d22ad1b21b1a87bc6e5477c54e8bbf9091b7c65e6
sourceRevisionDigest: sha256:f3bd4e72d7e08b1cb54485edec7338282f845eee921a30c1ace261b8abe46dd5
sourceBlobDigest: sha256:6102c0dd0a5d5b998bd1b9a91a738493d5bc8356b80c41160d2bac21f58cb4d8
tags:
- latest
Expand All @@ -11,10 +11,10 @@ targets:
Java:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:510ed00121f483186ba4e77d22ad1b21b1a87bc6e5477c54e8bbf9091b7c65e6
sourceRevisionDigest: sha256:f3bd4e72d7e08b1cb54485edec7338282f845eee921a30c1ace261b8abe46dd5
sourceBlobDigest: sha256:6102c0dd0a5d5b998bd1b9a91a738493d5bc8356b80c41160d2bac21f58cb4d8
codeSamplesNamespace: code-samples-java-java
codeSamplesRevisionDigest: sha256:cd0f84b0e6ea53e8a43a268b4cd7efceb5724f315f15880bdc5dda40c6d48ecd
codeSamplesRevisionDigest: sha256:2c4f36a3908882efe97c300aaf975cdac384e4c7e0a3cdfddd14096c6653dc34
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.formance:formance-sdk:3.2.0'
implementation 'com.formance:formance-sdk:3.2.1'
```

Maven:
```xml
<dependency>
<groupId>com.formance</groupId>
<artifactId>formance-sdk</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,14 @@ Based on:
### Generated
- [java v3.2.0] .
### Releases
- [Maven Central v3.2.0] https://central.sonatype.com/artifact/com.formance/formance-sdk/3.2.0 - .
- [Maven Central v3.2.0] https://central.sonatype.com/artifact/com.formance/formance-sdk/3.2.0 - .

## 2024-09-17 14:13:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.398.0 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v3.2.1] .
### Releases
- [Maven Central v3.2.1] https://central.sonatype.com/artifact/com.formance/formance-sdk/3.2.1 - .
37 changes: 25 additions & 12 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.3'
}

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

jar {
dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "formance-sdk"

into("META-INF/maven/com.formance/formance-sdk") {
from("$buildDir/pom.xml")
Expand All @@ -61,7 +63,7 @@ tasks.withType(Javadoc) {
}

group = "com.formance"
version = "3.2.0"
version = "3.2.1"

sourcesJar {
archiveBaseName = "formance-sdk"
Expand All @@ -70,25 +72,36 @@ sourcesJar {
javadocJar {
archiveBaseName = "formance-sdk"
}
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/formance-sdk-${version}.jar",
"$buildDir/libs/formance-sdk-${version}-sources.jar",
"$buildDir/libs/formance-sdk-${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 = 'com.formance'
artifactId = 'formance-sdk'
version = '3.2.0'
version = '3.2.1'

from components.java

Expand Down
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:
comments: {}
telemetryEnabled: false
java:
version: 3.2.0
version: 3.2.1
additionalDependencies: []
additionalPlugins: []
artifactID: formance-sdk
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/formance/formance_sdk/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public Optional<SecuritySource> securitySource() {
public int serverIdx = 0;
public String language = "java";
public String openapiDocVersion = "v2.0.17";
public String sdkVersion = "3.2.0";
public String sdkVersion = "3.2.1";
public String genVersion = "2.415.8";
public String userAgent = "speakeasy-sdk/java 3.2.0 2.415.8 v2.0.17 com.formance.formance_sdk";
public String userAgent = "speakeasy-sdk/java 3.2.1 2.415.8 v2.0.17 com.formance.formance_sdk";

private Hooks _hooks = createHooks();

Expand Down

0 comments on commit 0f86231

Please sign in to comment.