Skip to content

Commit 38ddc74

Browse files
authored
duplicatesStrategy EXCLUDE to remove duplicate resources (#186)
1 parent 853ac3a commit 38ddc74

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ for the Linux x64 and Darwin x64 platforms.
77

88
## Unreleased Changes
99
### Changed
10-
- Added option to build and publish as an Android module into h3-android
10+
- Added option to build and publish as an Android module into h3-android. (#184)
11+
12+
### Fixed
13+
- Removed duplicate native code resources from the built artifacts. (#186)
1114

1215
## [4.3.1] - 2025-08-27
1316
### Changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jacocoTestReport {
124124
jar {
125125
dependsOn buildH3
126126
from sourceSets.main.resources
127-
duplicatesStrategy = DuplicatesStrategy.WARN
127+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
128128
}
129129

130130
// Android-specific configurations
@@ -154,7 +154,7 @@ task androidJar(type: Jar) {
154154
include 'META-INF/**'
155155
}
156156

157-
duplicatesStrategy = DuplicatesStrategy.WARN
157+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
158158

159159
manifest {
160160
attributes(

0 commit comments

Comments
 (0)