From 721d1c8c5eff4130f5f3089776d9e0051f6b5937 Mon Sep 17 00:00:00 2001 From: thc202 Date: Thu, 6 Feb 2025 08:07:20 +0000 Subject: [PATCH] authhelper: reduce add-on size Exclude compatible dependency which is provided by core. Signed-off-by: thc202 --- addOns/authhelper/CHANGELOG.md | 3 ++- addOns/authhelper/authhelper.gradle.kts | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addOns/authhelper/CHANGELOG.md b/addOns/authhelper/CHANGELOG.md index e5c58b0e74..1e0f4a94cf 100644 --- a/addOns/authhelper/CHANGELOG.md +++ b/addOns/authhelper/CHANGELOG.md @@ -4,7 +4,8 @@ All notable changes to this add-on will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## Unreleased - +### Changed +- Reduce add-on size. ## [0.19.0] - 2025-02-04 ### Added diff --git a/addOns/authhelper/authhelper.gradle.kts b/addOns/authhelper/authhelper.gradle.kts index f57e48808d..735a2f7668 100644 --- a/addOns/authhelper/authhelper.gradle.kts +++ b/addOns/authhelper/authhelper.gradle.kts @@ -74,7 +74,10 @@ dependencies { zapAddOn("client") zapAddOn("zest") - implementation("com.github.bastiaanjansen:otp-java:2.1.0") + implementation("com.github.bastiaanjansen:otp-java:2.1.0") { + // Provided by ZAP. + exclude(group = "commons-codec", module = "commons-codec") + } testImplementation(project(":testutils")) }