Packaging issue with netty
- Dominant language
- Kotlin
- Stars
- 4.6k
- Forks
- 474
- Avg merge
- 58m
- Merged PRs (30d)
- 1
Description
I am getting an exception while building app after introducing koog as dependency
```
Execution failed for task ':app:mergeDebugJavaResource'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
> 6 files found with path 'META-INF/INDEX.LIST' from inputs:
- io.netty:netty-handler:4.1.118.Final/netty-handler-4.1.118.Final.jar
- io.netty:netty-transport-native-unix-common:4.1.118.Final/netty-transport-native-unix-common-4.1.118.Final.jar
- io.netty:netty-codec:4.1.118.Final/netty-codec-4.1.118.Final.jar
- io.netty:netty-transport:4.1.118.Final/netty-transport-4.1.118.Final.jar
- io.netty:netty-resolver:4.1.118.Final/netty-resolver-4.1.118.Final.jar
- io.netty:netty-buffer:4.1.118.Final/netty-buffer-4.1.118.Final.jar
Adding a packaging block may help, please refer to
https://developer.android.com/reference/tools/gradle-api/com/android/build/api/dsl/Packaging
for more information
```
Adding packaging block helps. But it would be nice if it was not necessary (or specified in readme).
Other than that koog integration is great. Thank you for your amazing work!
Contributor guide
Research direction
Start by reproducing the Android build failure at :app:mergeDebugJavaResource after adding koog, using the listed Netty dependencies as the focus. Check the Android packaging configuration and the koog integration guidance, then verify that the build succeeds without an unexplained workaround or that the required packaging block is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100