From b45234ba484bb95701db37f37114e1d0a46674ea Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 25 Oct 2024 10:20:25 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.421.2 --- .speakeasy/gen.lock | 6 +- .speakeasy/workflow.lock | 12 +- README.md | 4 +- RELEASES.md | 12 +- build.gradle | 4 +- gen.yaml | 2 +- gradlew.bat | 184 +++++++++--------- .../live/ding/dingSdk/SDKConfiguration.java | 2 +- 8 files changed, 121 insertions(+), 105 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 674bb71..242f59d 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: fd2a78ee-286d-4e3c-ab3c-507a8f89f511 management: docChecksum: c2a5d8222f4117f238343d6187ef2751 docVersion: 1.0.0 - speakeasyVersion: 1.421.1 + speakeasyVersion: 1.421.2 generationVersion: 2.438.15 - releaseVersion: 0.7.7 - configChecksum: 6d2bf4bb5e8581e4cbc27eb1a862566f + releaseVersion: 0.7.8 + configChecksum: 58fcae14b002321f0f6db470b091c6fc repoURL: https://github.com/ding-live/ding-java.git repoSubDirectory: . published: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 6609682..872cd96 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,8 +1,8 @@ -speakeasyVersion: 1.421.1 +speakeasyVersion: 1.421.2 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:61ec3342724a92cd5515849701c97a77d4eae6094a27df873a7d772121011091 + sourceRevisionDigest: sha256:87cde9189a30c3e0a8cdbc416d372dd5294e4e783c8099f5dfab22b5837d2a63 sourceBlobDigest: sha256:983960b6ecce35b4c545e5d1129506d864a1e60f367893d0723cc775ef2c15b1 tags: - latest @@ -11,7 +11,7 @@ targets: live.ding.dingsdk: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:61ec3342724a92cd5515849701c97a77d4eae6094a27df873a7d772121011091 + sourceRevisionDigest: sha256:87cde9189a30c3e0a8cdbc416d372dd5294e4e783c8099f5dfab22b5837d2a63 sourceBlobDigest: sha256:983960b6ecce35b4c545e5d1129506d864a1e60f367893d0723cc775ef2c15b1 workflow: workflowVersion: 1.0.0 @@ -26,3 +26,9 @@ workflow: live.ding.dingsdk: target: java source: my-source + publish: + java: + ossrhUsername: f1b6diLi + ossrhPassword: $ossrh_password + gpgSecretKey: $java_gpg_secret_key + gpgPassPhrase: $java_gpg_passphrase diff --git a/README.md b/README.md index a727014..f18fe3e 100755 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'live.ding:dingSdk:0.7.7' +implementation 'live.ding:dingSdk:0.7.8' ``` Maven: @@ -38,7 +38,7 @@ Maven: live.ding dingSdk - 0.7.7 + 0.7.8 ``` diff --git a/RELEASES.md b/RELEASES.md index ae80d7c..70ed19d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -214,4 +214,14 @@ Based on: - OpenAPI Doc - Speakeasy CLI 1.421.1 (2.438.15) https://github.com/speakeasy-api/speakeasy ### Generated -- [java v0.7.7] . \ No newline at end of file +- [java v0.7.7] . + +## 2024-10-25 10:19:52 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.421.2 (2.438.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.7.8] . +### Releases +- [Maven Central v0.7.8] https://central.sonatype.com/artifact/live.ding/dingSdk/0.7.8 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index b5b02fe..30857f5 100644 --- a/build.gradle +++ b/build.gradle @@ -61,7 +61,7 @@ tasks.withType(Javadoc) { } group = "live.ding" -version = "0.7.7" +version = "0.7.8" sourcesJar { archiveBaseName = "dingSdk" @@ -88,7 +88,7 @@ publishing { maven(MavenPublication) { groupId = 'live.ding' artifactId = 'dingSdk' - version = '0.7.7' + version = '0.7.8' from components.java diff --git a/gen.yaml b/gen.yaml index c3dff81..dac6190 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: baseServerURL: "" flattenGlobalSecurity: true java: - version: 0.7.7 + version: 0.7.8 additionalDependencies: [] additionalPlugins: [] artifactID: dingSdk diff --git a/gradlew.bat b/gradlew.bat index 93e3f59..6689b85 100755 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,92 +1,92 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/src/main/java/live/ding/dingSdk/SDKConfiguration.java b/src/main/java/live/ding/dingSdk/SDKConfiguration.java index 4519912..2454854 100644 --- a/src/main/java/live/ding/dingSdk/SDKConfiguration.java +++ b/src/main/java/live/ding/dingSdk/SDKConfiguration.java @@ -21,7 +21,7 @@ public Optional securitySource() { public int serverIdx = 0; private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "0.7.7"; + public static final String SDK_VERSION = "0.7.8"; public static final String GEN_VERSION = "2.438.15"; private static final String BASE_PACKAGE = "live.ding.dingSdk"; public static final String USER_AGENT =