Drop the commons-lang and dnsjava dependencies
Both were pulled in for a single call each: commons-lang for ConstructorUtils.invokeConstructor when building a packet handler, and dnsjava for the _ts3._udp SRV lookup. Together they added over a megabyte to a shaded jar (and dnsjava drops jnamed/update classes into the jar root). Plain reflection and JNDI's dns: provider cover both. Also drop the BouncyCastleProvider registration: every digest here is requested by a name the SUN provider already answers, so the only thing it accomplished was keeping the whole JCE provider, the post-quantum suite and the X.509 stack reachable for a shaded-jar tree-shaker. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,18 +40,6 @@
|
||||
<version>1.67</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>dnsjava</groupId>
|
||||
<artifactId>dnsjava</artifactId>
|
||||
<version>2.1.8</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.ini4j</groupId>
|
||||
<artifactId>ini4j</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user