添加 modul-info.java 暂未完成

This commit is contained in:
choweli
2025-04-18 17:22:55 +08:00
parent bedfa07a8a
commit 2a90c4b7b5
33 changed files with 948 additions and 28 deletions

View File

@@ -36,7 +36,7 @@
<Automatic-Module-Name>cn.hutool.v7.http</Automatic-Module-Name>
<httpclient5.version>5.4.3</httpclient5.version>
<httpclient4.version>4.5.14</httpclient4.version>
<okhttp.version>4.12.0</okhttp.version>
<okhttp.version>5.0.0-alpha.14</okhttp.version>
<undertow.version>2.3.18.Final</undertow.version>
<jetty.version>12.0.19</jetty.version>
<tomcat.version>11.0.6</tomcat.version>
@@ -123,6 +123,12 @@
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.smartboot.http</groupId>

View File

@@ -0,0 +1,41 @@
/*
* Copyright (c) 2025 Hutool Team and hutool.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
*
* @author choweli
*/
module hutool.http {
requires jdk.httpserver;
requires hutool.log;
requires org.apache.httpcomponents.httpclient;
requires org.apache.httpcomponents.httpcore;
requires hutool.core;
requires org.apache.httpcomponents.core5.httpcore5;
requires org.apache.httpcomponents.client5.httpclient5;
requires okhttp3;
requires org.eclipse.jetty.server;
requires smart.http.server;
requires undertow.core;
requires jakarta.xml.soap;
requires okio;
requires smart.http.common;
requires org.apache.tomcat.embed.core;
requires aio.pro;
// requires aio.core;
}