chatgpt-java-sdk
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.xu768212312</groupId> <artifactId>chatgpt-java-sdk</artifactId> <version>2.0.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.xu768212312</groupId> <artifactId>chatgpt-java-sdk</artifactId> <version>2.0.1</version> <name>chatgpt-java</name> <description>OpenAI Java SDK, OpenAI Api for Java. ChatGPT Java SDK .</description> <url>https://wilmer.com.cn</url> <scm> <connection>scm:git:git://github.com/Xu768212312/chatgpt-java-sdk.git</connection> <url>https://github.com/Xu768212312/chatgpt-java-sdk.git</url> </scm> <organization> <name>xu</name> <url>https://wilmer.com.cn</url> </organization> <developers> <developer> <name>xu</name> <email>768212312@qq.com</email> <organization>xu</organization> <organizationUrl>https://wilmer.com.cn</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> </developers> <licenses> <license> <name>The MIT License</name> <url>https://projectlombok.org/LICENSE</url> <distribution>repo</distribution> </license> </licenses> <properties> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <retrofit2.version>2.9.0</retrofit2.version> <slf4j.version>2.0.6</slf4j.version> <!-- 跳过测试配置 --> <!-- <skipTests>true</skipTests>--> <!-- 或者 --> <maven.test.skip>true</maven.test.skip> </properties> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.24</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.13.3</version> </dependency> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.8.12</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-sse</artifactId> <version>3.14.9</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>logging-interceptor</artifactId> <version>3.14.9</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>retrofit</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>converter-jackson</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>adapter-rxjava2</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>RELEASE</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.knuddels</groupId> <artifactId>jtokkit</artifactId> <version>0.6.1</version> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>central</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>central</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> <build> <plugins> <!-- Maven插件发布 --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <tokenAuth>true</tokenAuth> <autoPublish>false</autoPublish> </configuration> </plugin> <!-- 签名插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- 生成源文件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- 生成源javadocs文件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.10.0</version> <configuration> <failOnError>false</failOnError> </configuration> <executions> <execution> <id>generate-javadocs</id> <phase>package</phase> <goals> <goal>javadoc</goal> <!-- 生成 Javadocs --> </goals> </execution> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> <!-- 将 Javadocs 打包为 jar --> </goals> </execution> </executions> </plugin> </plugins> </build> </project>