-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.307.2
- Loading branch information
1 parent
cb771bc
commit eceb937
Showing
22 changed files
with
276 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,35 @@ | ||
speakeasyVersion: 1.307.1 | ||
speakeasyVersion: 1.307.2 | ||
sources: | ||
clerk-java-sdk: | ||
sourceNamespace: clerk-java-sdk | ||
sourceRevisionDigest: sha256:671a76348ffa42f50e48f36d00117419df09deedf8c407f5998533e01a8b64cb | ||
sourceBlobDigest: sha256:e23b66a7b10f867245e42a1cd46af66f9ebee2db346f6a3bfcec0aa79ae2ac86 | ||
sourceRevisionDigest: sha256:9e02ef8a222cb78445ec7a7ac7bd777d669a4fddfe0467cdad28aa02fd69c2fb | ||
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56 | ||
tags: | ||
- latest | ||
- main | ||
targets: | ||
my-first-target: | ||
source: clerk-java-sdk | ||
sourceNamespace: clerk-java-sdk | ||
sourceRevisionDigest: sha256:671a76348ffa42f50e48f36d00117419df09deedf8c407f5998533e01a8b64cb | ||
sourceBlobDigest: sha256:e23b66a7b10f867245e42a1cd46af66f9ebee2db346f6a3bfcec0aa79ae2ac86 | ||
outLocation: /Users/kylemac/Sites/clerk/java-sdk/~/Sites/clerk/java-sdk | ||
sourceRevisionDigest: sha256:9e02ef8a222cb78445ec7a7ac7bd777d669a4fddfe0467cdad28aa02fd69c2fb | ||
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56 | ||
outLocation: /github/workspace/repo | ||
workflow: | ||
workflowVersion: 1.0.0 | ||
speakeasyVersion: latest | ||
sources: | ||
clerk-java-sdk: | ||
inputs: | ||
- location: ../../../../openapi.yml | ||
- location: ./openapi.yml | ||
registry: | ||
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk | ||
targets: | ||
my-first-target: | ||
target: java | ||
source: clerk-java-sdk | ||
publish: | ||
java: | ||
ossrhUsername: clerk | ||
ossrhPassword: $ossrh_password | ||
gpgSecretKey: $gpg_secret_key | ||
gpgPassPhrase: $gpg_pass_phrase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
workflowVersion: 1.0.0 | ||
speakeasyVersion: latest | ||
sources: | ||
clerk-java-sdk: | ||
inputs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
|
||
## 2024-06-13 22:05:28 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc | ||
- Speakeasy CLI 1.307.2 (2.342.2) https://github.com/speakeasy-api/speakeasy | ||
### Generated | ||
- [java v0.0.2] . | ||
### Releases | ||
- [Maven Central v0.0.2] https://central.sonatype.com/artifact/com.clerk/backend-api/0.0.2 - . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
plugins { | ||
// Apply the java-library plugin for API and implementation separation. | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0' | ||
} | ||
|
||
compileJava.options.encoding = "UTF-8" | ||
|
@@ -21,11 +24,122 @@ repositories { | |
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
model { | ||
tasks.generatePomFileForMavenPublication { | ||
destination = file("$buildDir/pom.xml") | ||
} | ||
} | ||
|
||
jar { | ||
dependsOn(":generatePomFileForMavenPublication") | ||
archiveBaseName = "backend-api" | ||
|
||
into("META-INF/maven/com.clerk/backend-api") { | ||
from("$buildDir/pom.xml") | ||
} | ||
} | ||
|
||
javadoc { | ||
options.encoding = "UTF-8" | ||
|
||
if(JavaVersion.current().isJava9Compatible()) { | ||
options.addBooleanOption('html5', true) | ||
} | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
|
||
tasks.withType(Javadoc) { | ||
failOnError false | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
group = "com.clerk" | ||
version = "0.0.2" | ||
|
||
sourcesJar { | ||
archiveBaseName = "backend-api" | ||
} | ||
|
||
javadocJar { | ||
archiveBaseName = "backend-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/backend-api-${version}.jar", | ||
"$buildDir/libs/backend-api-${version}-sources.jar", | ||
"$buildDir/libs/backend-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 { | ||
|
||
publications { | ||
maven(MavenPublication) { | ||
groupId = 'com.clerk' | ||
artifactId = 'backend-api' | ||
version = '0.0.2' | ||
|
||
from components.java | ||
|
||
pom { | ||
name = 'My Company Java SDK' | ||
description = 'SDK enabling Java developers to easily integrate with the My Company API.' | ||
url = 'https://github.com/owner/repo' | ||
scm { | ||
url = 'github.com/owner/repo' | ||
connection = 'scm:git:ssh://[email protected]/owner/repo.git' | ||
} | ||
licenses { | ||
license { | ||
name = 'The MIT License (MIT)' | ||
url = 'https://mit-license.org/' | ||
} | ||
} | ||
developers { | ||
developer { | ||
name = 'My Company' | ||
organization = 'My Company' | ||
email = '[email protected]' | ||
} | ||
} | ||
organization { | ||
name = 'My Company' | ||
url = 'www.mycompany.com' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
if (!project.hasProperty('skip.signing')) { | ||
signing { | ||
def signingKey = findProperty("signingKey") | ||
def signingPassphrase = findProperty("signingPassphrase") | ||
useInMemoryPgpKeys(signingKey, signingPassphrase) | ||
sign publishing.publications.maven | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.