remove module-info

This commit is contained in:
Looly 2025-06-23 18:46:57 +08:00
parent caf0ca658e
commit 73635fd1b2
33 changed files with 30 additions and 613 deletions

View File

@ -19,17 +19,17 @@
<properties> <properties>
<Automatic-Module-Name>cn.hutool.v7.ai</Automatic-Module-Name> <Automatic-Module-Name>cn.hutool.v7.ai</Automatic-Module-Name>
<moshi.version>1.15.2</moshi.version> <moshi.version>1.15.2</moshi.version>
<jackson.version>2.18.1</jackson.version> <jackson.version>2.19.1</jackson.version>
<fastjson2.version>2.0.53</fastjson2.version> <fastjson2.version>2.0.53</fastjson2.version>
<gson.version>2.13.0</gson.version> <gson.version>2.13.1</gson.version>
<jetty.version>12.0.19</jetty.version> <jetty.version>12.0.19</jetty.version>
<jakarta.xml.soap-api.version>3.0.2</jakarta.xml.soap-api.version> <jakarta.xml.soap-api.version>3.0.2</jakarta.xml.soap-api.version>
<httpclient5.version>5.4.3</httpclient5.version> <httpclient5.version>5.5</httpclient5.version>
<httpclient4.version>4.5.14</httpclient4.version> <httpclient4.version>4.5.14</httpclient4.version>
<okhttp.version>5.0.0-alpha.14</okhttp.version> <okhttp.version>5.0.0-alpha.14</okhttp.version>
<undertow.version>2.3.18.Final</undertow.version> <undertow.version>2.3.18.Final</undertow.version>
<tomcat.version>11.0.6</tomcat.version> <tomcat.version>11.0.8</tomcat.version>
<smartboot.version>1.4.3</smartboot.version> <smartboot.version>1.4.3</smartboot.version>
<slf4j.version>2.0.9</slf4j.version> <slf4j.version>2.0.9</slf4j.version>

View File

@ -1,35 +0,0 @@
/*
* 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.ai {
exports cn.hutool.v7.ai;
exports cn.hutool.v7.ai.core;
exports cn.hutool.v7.ai.model.hutool;
exports cn.hutool.v7.ai.model.deepseek;
exports cn.hutool.v7.ai.model.doubao;
exports cn.hutool.v7.ai.model.grok;
exports cn.hutool.v7.ai.model.openai;
requires hutool.json;
requires hutool.core;
requires hutool.crypto;
requires hutool.http;
}

View File

@ -1,24 +0,0 @@
/*
* 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.all {
requires hutool.core;
}

View File

@ -1,93 +0,0 @@
/*
* 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.core {
exports cn.hutool.v7.core.exception;
exports cn.hutool.v7.core.lang;
exports cn.hutool.v7.core.lang.wrapper;
exports cn.hutool.v7.core.text;
exports cn.hutool.v7.core.io;
exports cn.hutool.v7.core.io.file;
exports cn.hutool.v7.core.io.stream;
exports cn.hutool.v7.core.io.resource;
exports cn.hutool.v7.core.util;
exports cn.hutool.v7.core.array;
exports cn.hutool.v7.core.codec.binary;
exports cn.hutool.v7.core.thread;
exports cn.hutool.v7.core.thread.lock;
exports cn.hutool.v7.core.map;
exports cn.hutool.v7.core.collection;
exports cn.hutool.v7.core.spi;
exports cn.hutool.v7.core.func;
exports cn.hutool.v7.core.lang.caller;
exports cn.hutool.v7.core.reflect;
exports cn.hutool.v7.core.lang.ansi;
exports cn.hutool.v7.core.date;
exports cn.hutool.v7.core.lang.getter;
exports cn.hutool.v7.core.text.split;
exports cn.hutool.v7.core.bean.copier;
exports cn.hutool.v7.core.bean.path;
exports cn.hutool.v7.core.bean;
exports cn.hutool.v7.core.net.url;
exports cn.hutool.v7.core.io.watch;
exports cn.hutool.v7.core.io.watch.watchers;
exports cn.hutool.v7.core.convert;
exports cn.hutool.v7.core.regex;
exports cn.hutool.v7.core.map.concurrent;
exports cn.hutool.v7.core.math;
exports cn.hutool.v7.core.collection.set;
exports cn.hutool.v7.core.collection.iter;
exports cn.hutool.v7.core.reflect.method;
exports cn.hutool.v7.core.lang.builder;
exports cn.hutool.v7.core.lang.range;
exports cn.hutool.v7.core.lang.page;
exports cn.hutool.v7.core.classloader;
exports cn.hutool.v7.core.pool;
exports cn.hutool.v7.core.pool.partition;
exports cn.hutool.v7.core.stream;
exports cn.hutool.v7.core.lang.tuple;
exports cn.hutool.v7.core.codec;
exports cn.hutool.v7.core.net;
exports cn.hutool.v7.core.map.reference;
exports cn.hutool.v7.core.lang.mutable;
exports cn.hutool.v7.core.lang.loader;
exports cn.hutool.v7.core.comparator;
exports cn.hutool.v7.core.date.format;
exports cn.hutool.v7.core.lang.copier;
exports cn.hutool.v7.core.convert.impl;
exports cn.hutool.v7.core.bean.path.node;
exports cn.hutool.v7.core.xml;
exports cn.hutool.v7.core.reflect.kotlin;
exports cn.hutool.v7.core.text.escape;
exports cn.hutool.v7.core.annotation;
exports cn.hutool.v7.core.map.multi;
exports cn.hutool.v7.core.data.id;
exports cn.hutool.v7.core.io.buffer;
exports cn.hutool.v7.core.reflect.creator;
exports cn.hutool.v7.core.compress;
exports cn.hutool.v7.core.net.ssl;
requires java.desktop;
requires java.sql;
requires java.management;
requires java.compiler;
requires java.naming;
}

View File

@ -39,7 +39,7 @@ public class Issue1687Test {
final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class); final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class);
// 别名错位导致找不到字段 // 别名错位导致找不到字段
Assertions.assertNull(sysUser.getDepart()); Assertions.assertNull(sysUser.getDepart());
Assertions.assertEquals(new Long(456L), sysUser.getOrgId()); Assertions.assertEquals(Long.valueOf(456L), sysUser.getOrgId());
} }
@Test @Test
@ -54,8 +54,8 @@ public class Issue1687Test {
); );
final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class, copyOptions); final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class, copyOptions);
Assertions.assertEquals(new Long(123L), sysUser.getDepart()); Assertions.assertEquals(Long.valueOf(123L), sysUser.getDepart());
Assertions.assertEquals(new Long(456L), sysUser.getOrgId()); Assertions.assertEquals(Long.valueOf(456L), sysUser.getOrgId());
} }
@Data @Data

View File

@ -35,7 +35,7 @@ public class MapProxyTest {
final MapProxy mapProxy = new MapProxy(map); final MapProxy mapProxy = new MapProxy(map);
final Integer b = mapProxy.getInt("b"); final Integer b = mapProxy.getInt("b");
Assertions.assertEquals(new Integer(2), b); Assertions.assertEquals(Integer.valueOf(2), b);
final Set<Object> keys = mapProxy.keySet(); final Set<Object> keys = mapProxy.keySet();
Assertions.assertFalse(keys.isEmpty()); Assertions.assertFalse(keys.isEmpty());

View File

@ -38,7 +38,7 @@ public class CastUtilTest {
map.put(1, 1); map.put(1, 1);
final Collection<Number> collection2 = CastUtil.castUp(collection); final Collection<Number> collection2 = CastUtil.castUp(collection);
collection2.add(new Double("123.1")); collection2.add(Double.valueOf("123.1"));
Assertions.assertSame(collection, collection2); Assertions.assertSame(collection, collection2);
final Collection<Integer> collection3 = CastUtil.castDown(collection2); final Collection<Integer> collection3 = CastUtil.castDown(collection2);

View File

@ -129,11 +129,11 @@ public class ConvertToArrayTest {
final Character[] array = ConvertUtil.toCharArray(testStr); final Character[] array = ConvertUtil.toCharArray(testStr);
//包装类型数组 //包装类型数组
Assertions.assertEquals(new Character('a'), array[0]); Assertions.assertEquals(Character.valueOf('a'), array[0]);
Assertions.assertEquals(new Character('b'), array[1]); Assertions.assertEquals(Character.valueOf('b'), array[1]);
Assertions.assertEquals(new Character('c'), array[2]); Assertions.assertEquals(Character.valueOf('c'), array[2]);
Assertions.assertEquals(new Character('d'), array[3]); Assertions.assertEquals(Character.valueOf('d'), array[3]);
Assertions.assertEquals(new Character('e'), array[4]); Assertions.assertEquals(Character.valueOf('e'), array[4]);
//原始类型数组 //原始类型数组
final char[] array2 = ConvertUtil.convert(char[].class, testStr); final char[] array2 = ConvertUtil.convert(char[].class, testStr);

View File

@ -31,7 +31,7 @@ public class RowKeyTableTest {
table.put(1, 2, 3); table.put(1, 2, 3);
table.put(1, 6, 4); table.put(1, 6, 4);
Assertions.assertEquals(new Integer(3), table.get(1, 2)); Assertions.assertEquals(Integer.valueOf(3), table.get(1, 2));
Assertions.assertNull(table.get(1, 3)); Assertions.assertNull(table.get(1, 3));
//判断row和column确定的二维点是否存在 //判断row和column确定的二维点是否存在

View File

@ -27,8 +27,8 @@ public class TableMapTest {
tableMap.put("aaa", 111); tableMap.put("aaa", 111);
tableMap.put("bbb", 222); tableMap.put("bbb", 222);
Assertions.assertEquals(new Integer(111), tableMap.get("aaa")); Assertions.assertEquals(Integer.valueOf(111), tableMap.get("aaa"));
Assertions.assertEquals(new Integer(222), tableMap.get("bbb")); Assertions.assertEquals(Integer.valueOf(222), tableMap.get("bbb"));
Assertions.assertEquals("aaa", tableMap.getKey(111)); Assertions.assertEquals("aaa", tableMap.getKey(111));
Assertions.assertEquals("bbb", tableMap.getKey(222)); Assertions.assertEquals("bbb", tableMap.getKey(222));

View File

@ -42,7 +42,7 @@
<log4j2.version>2.20.0</log4j2.version> <log4j2.version>2.20.0</log4j2.version>
<tinylog.version>1.3.6</tinylog.version> <tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.7.0</tinylog2.version> <tinylog2.version>2.7.0</tinylog2.version>
<commons-logging.version>1.3.4</commons-logging.version> <commons-logging.version>1.3.5</commons-logging.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -1,26 +0,0 @@
/*
* 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.cron {
requires hutool.setting;
requires hutool.log;
requires hutool.core;
}

View File

@ -1,32 +0,0 @@
/*
* 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.crypto {
exports cn.hutool.v7.crypto;
exports cn.hutool.v7.crypto.provider;
exports cn.hutool.v7.crypto.digest.mac;
exports cn.hutool.v7.crypto.asymmetric;
requires hutool.core;
requires org.bouncycastle.provider;
requires java.security.sasl;
requires org.bouncycastle.pkix;
}

View File

@ -50,7 +50,7 @@
<log4j2.version>2.20.0</log4j2.version> <log4j2.version>2.20.0</log4j2.version>
<tinylog.version>1.3.6</tinylog.version> <tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.7.0</tinylog2.version> <tinylog2.version>2.7.0</tinylog2.version>
<commons-logging.version>1.3.4</commons-logging.version> <commons-logging.version>1.3.5</commons-logging.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -1,57 +0,0 @@
/*
* 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.db {
exports cn.hutool.v7.db;
exports cn.hutool.v7.db.config;
exports cn.hutool.v7.db.handler;
exports cn.hutool.v7.db.dialect;
exports cn.hutool.v7.db.sql;
exports cn.hutool.v7.db.sql.filter;
exports cn.hutool.v7.db.ds;
exports cn.hutool.v7.db.ds.bee;
exports cn.hutool.v7.db.ds.c3p0;
exports cn.hutool.v7.db.ds.dbcp;
exports cn.hutool.v7.db.ds.druid;
exports cn.hutool.v7.db.ds.hikari;
exports cn.hutool.v7.db.ds.jndi;
exports cn.hutool.v7.db.ds.pooled;
exports cn.hutool.v7.db.ds.simple;
exports cn.hutool.v7.db.ds.tomcat;
requires hutool.setting;
requires hutool.log;
requires hutool.core;
requires beecp;
requires com.mchange.v2.c3p0;
requires java.desktop;
requires org.apache.commons.dbcp2;
requires druid;
requires com.zaxxer.hikari;
requires java.sql;
requires java.naming;
requires tomcat.jdbc;
opens cn.hutool.v7.db;
opens cn.hutool.v7.db.config;
opens cn.hutool.v7.db.pojo;
}

View File

@ -268,17 +268,7 @@
<groupId>org.apache.sshd</groupId> <groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId> <artifactId>sshd-core</artifactId>
<version>${sshd.version}</version> <version>${sshd.version}</version>
<exclusions> <optional>true</optional>
<exclusion>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
<version>${sshd.version}</version>
</dependency> </dependency>
<!-- FTP工具 --> <!-- FTP工具 -->
<dependency> <dependency>

View File

@ -22,6 +22,8 @@ import org.apache.lucene.util.Attribute;
import cn.hutool.v7.extra.tokenizer.Word; import cn.hutool.v7.extra.tokenizer.Word;
import java.io.Serial;
/** /**
* Lucene-analysis分词中的一个单词包装 * Lucene-analysis分词中的一个单词包装
* *
@ -29,6 +31,7 @@ import cn.hutool.v7.extra.tokenizer.Word;
* *
*/ */
public class AnalysisWord implements Word { public class AnalysisWord implements Word {
@Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private final Attribute word; private final Attribute word;

View File

@ -34,12 +34,12 @@
<properties> <properties>
<Automatic-Module-Name>cn.hutool.v7.http</Automatic-Module-Name> <Automatic-Module-Name>cn.hutool.v7.http</Automatic-Module-Name>
<httpclient5.version>5.4.3</httpclient5.version> <httpclient5.version>5.5</httpclient5.version>
<httpclient4.version>4.5.14</httpclient4.version> <httpclient4.version>4.5.14</httpclient4.version>
<okhttp.version>5.0.0-alpha.14</okhttp.version> <okhttp.version>5.0.0-alpha.14</okhttp.version>
<undertow.version>2.3.18.Final</undertow.version> <undertow.version>2.3.18.Final</undertow.version>
<jetty.version>12.0.19</jetty.version> <jetty.version>12.0.19</jetty.version>
<tomcat.version>11.0.6</tomcat.version> <tomcat.version>11.0.8</tomcat.version>
<smartboot.version>1.4.3</smartboot.version> <smartboot.version>1.4.3</smartboot.version>
<jakarta.servlet-api.version>6.1.0</jakarta.servlet-api.version> <jakarta.servlet-api.version>6.1.0</jakarta.servlet-api.version>
<jakarta.xml.soap-api.version>3.0.2</jakarta.xml.soap-api.version> <jakarta.xml.soap-api.version>3.0.2</jakarta.xml.soap-api.version>
@ -50,7 +50,7 @@
<log4j2.version>2.20.0</log4j2.version> <log4j2.version>2.20.0</log4j2.version>
<tinylog.version>1.3.6</tinylog.version> <tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.7.0</tinylog2.version> <tinylog2.version>2.7.0</tinylog2.version>
<commons-logging.version>1.3.4</commons-logging.version> <commons-logging.version>1.3.5</commons-logging.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -1,50 +0,0 @@
/*
* 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 {
exports cn.hutool.v7.http.meta;
exports cn.hutool.v7.http.client;
exports cn.hutool.v7.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;
opens cn.hutool.v7.http.client.engine;
opens cn.hutool.v7.http.client.engine.httpclient5;
opens cn.hutool.v7.http.client.engine.httpclient4;
opens cn.hutool.v7.http.client.engine.okhttp;
opens cn.hutool.v7.http.client.engine.jdk;
}

View File

@ -1,23 +0,0 @@
/*
* 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.jmh {
}

View File

@ -36,9 +36,9 @@
<Automatic-Module-Name>cn.hutool.v7.json</Automatic-Module-Name> <Automatic-Module-Name>cn.hutool.v7.json</Automatic-Module-Name>
<!-- versions --> <!-- versions -->
<jjwt.version>0.12.6</jjwt.version> <jjwt.version>0.12.6</jjwt.version>
<jackson.version>2.18.1</jackson.version> <jackson.version>2.19.1</jackson.version>
<fastjson2.version>2.0.53</fastjson2.version> <fastjson2.version>2.0.53</fastjson2.version>
<gson.version>2.13.0</gson.version> <gson.version>2.13.1</gson.version>
<moshi.version>1.15.2</moshi.version> <moshi.version>1.15.2</moshi.version>
</properties> </properties>

View File

@ -1,8 +0,0 @@
package cn.hutool.v7.json.issues;
/**
* 为了通过test进行占位
* @author choweli
*/
public class Test {
}

View File

@ -1,8 +0,0 @@
package cn.hutool.v7.json.issues.issueIVMD5;
/**
* 为了通过test进行占位
* @author choweli
*/
public class Test {
}

View File

@ -1,8 +0,0 @@
package cn.hutool.v7.json.test.bean;
/**
* 为了通过test进行占位
* @author choweli
*/
public class Test {
}

View File

@ -1,8 +0,0 @@
package cn.hutool.v7.json.test.bean.report;
/**
* 为了通过test进行占位
* @author choweli
*/
public class Test {
}

View File

@ -1,48 +0,0 @@
/*
* 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.json {
exports cn.hutool.v7.json;
exports cn.hutool.v7.json.jwt;
exports cn.hutool.v7.json.writer;
exports cn.hutool.v7.json.engine;
exports cn.hutool.v7.json.engine.gson;
exports cn.hutool.v7.json.engine.moshi;
exports cn.hutool.v7.json.engine.jackson;
exports cn.hutool.v7.json.engine.fastjson;
exports cn.hutool.v7.json.test.bean;
exports cn.hutool.v7.json.test.bean.report;
requires hutool.core;
requires hutool.crypto;
requires com.alibaba.fastjson2;
requires com.google.gson;
requires com.fasterxml.jackson.databind;
requires com.squareup.moshi;
requires okio;
requires java.sql;
opens cn.hutool.v7.json;
opens cn.hutool.v7.json.jwt;
opens cn.hutool.v7.json.engine;
opens cn.hutool.v7.json.issues;
opens cn.hutool.v7.json.issues.issueIVMD5;
}

View File

@ -1,37 +0,0 @@
/*
* 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.log {
exports cn.hutool.v7.log;
exports cn.hutool.v7.log.level;
exports cn.hutool.v7.log.engine.console;
exports cn.hutool.v7.log.engine.log4j2;
requires hutool.core;
requires org.jboss.logging;
requires org.apache.commons.logging;
requires org.apache.logging.log4j;
requires org.slf4j;
requires tinylog;
requires org.tinylog.api;
requires java.logging;
requires log4j;
}

View File

@ -1,36 +0,0 @@
/*
* 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.poi {
exports cn.hutool.v7.poi.excel.reader;
requires org.apache.poi.ooxml;
requires hutool.core;
requires java.desktop;
requires ofdrw.layout;
requires ofdrw.font;
requires ofdrw.reader;
requires ofdrw.converter;
requires java.sql;
opens cn.hutool.v7.poi.excel.writer;
opens cn.hutool.v7.poi.csv;
}

View File

@ -1,31 +0,0 @@
/*
* 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.setting {
exports cn.hutool.v7.setting;
exports cn.hutool.v7.setting.props;
requires hutool.log;
requires hutool.core;
requires org.yaml.snakeyaml;
opens cn.hutool.v7.setting.toml;
}

View File

@ -41,7 +41,7 @@
<log4j2.version>2.20.0</log4j2.version> <log4j2.version>2.20.0</log4j2.version>
<tinylog.version>1.3.6</tinylog.version> <tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.7.0</tinylog2.version> <tinylog2.version>2.7.0</tinylog2.version>
<commons-logging.version>1.3.4</commons-logging.version> <commons-logging.version>1.3.5</commons-logging.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -1,24 +0,0 @@
/*
* 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.socket {
requires hutool.log;
requires hutool.core;
}

View File

@ -1,28 +0,0 @@
/*
* 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.swing {
requires hutool.core;
requires java.desktop;
requires animated.gif.lib;
requires metadata.extractor;
requires com.google.zxing;
}

View File

@ -56,7 +56,7 @@
<!-- versions --> <!-- versions -->
<compile.version>17</compile.version> <compile.version>17</compile.version>
<junit.version>5.12.2</junit.version> <junit.version>5.13.1</junit.version>
<lombok.version>1.18.38</lombok.version> <lombok.version>1.18.38</lombok.version>
<kotlin-version>2.1.20</kotlin-version> <kotlin-version>2.1.20</kotlin-version>
<bouncycastle.version>1.80</bouncycastle.version> <bouncycastle.version>1.80</bouncycastle.version>