Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 9 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ 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:
```xml
<dependency>
<groupId>live.ding</groupId>
<artifactId>dingSdk</artifactId>
<version>0.7.7</version>
<version>0.7.8</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] .
- [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 - .
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
}

group = "live.ding"
version = "0.7.7"
version = "0.7.8"

sourcesJar {
archiveBaseName = "dingSdk"
Expand All @@ -88,7 +88,7 @@ publishing {
maven(MavenPublication) {
groupId = 'live.ding'
artifactId = 'dingSdk'
version = '0.7.7'
version = '0.7.8'

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:
baseServerURL: ""
flattenGlobalSecurity: true
java:
version: 0.7.7
version: 0.7.8
additionalDependencies: []
additionalPlugins: []
artifactID: dingSdk
Expand Down
184 changes: 92 additions & 92 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/main/java/live/ding/dingSdk/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Optional<SecuritySource> 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 =
Expand Down