Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7 files found with path META-INF/LICENSE.md #3822

Closed
priyatanu opened this issue May 17, 2024 · 2 comments
Closed

7 files found with path META-INF/LICENSE.md #3822

priyatanu opened this issue May 17, 2024 · 2 comments

Comments

@priyatanu
Copy link

priyatanu commented May 17, 2024

JUnit 5 version 5.10.2

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
   > 7 files found with path 'META-INF/LICENSE.md' from inputs:
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter/5.8.2/5a817b1e63f1217e5c586090c45e681281f097ad/junit-jupiter-5.8.2.jar
      - /Users/UserName.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/5.8.2/c598b4328d2f397194d11df3b1648d68d7d990e3/junit-jupiter-engine-5.8.2.jar
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/5.8.2/ddeafe92fc263f895bfb73ffeca7fd56e23c2cce/junit-jupiter-params-5.8.2.jar
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/5.8.2/4c21029217adf07e4c0d0c5e192b6bf610c94bdc/junit-jupiter-api-5.8.2.jar
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.vintage/junit-vintage-engine/5.8.2/64dde404f2db8b0e2ec6a53d31f4a076e298b1d1/junit-vintage-engine-5.8.2.jar
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/1.8.2/b737de09f19864bd136805c84df7999a142fec29/junit-platform-engine-1.8.2.jar
      - /Users/UserName/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/1.8.2/32c8b8617c1342376fd5af2053da6410d8866861/junit-platform-commons-1.8.2.jar

Steps to reproduce

Android Studio Koala -> build -> Rebuild Project

Context

Build after a clean always fails
Tried invalidating cache (nothing worked)
Tried removing ~/.gradle/cache

Configuaration

AGP = "8.4.0"
pluginGoogleServices = "4.4.1"
androidCompileSdk = "34"
androidTargetSdk = "33"
androidMinSdk = "23"
javaTarget = "17"
kotlin = "1.9.23"
@sbrannen sbrannen changed the title 7 files found with path 'META-INF/LICENSE.md 7 files found with path META-INF/LICENSE.md May 17, 2024
@sbrannen
Copy link
Member

I think it's relatively common for published JARs to contain META-INF/LICENSE.md files.

So, that sounds like it might be an issue with Android Studio Koala.

Have you checked the documentation for Android Studio Koala?

@marcphilipp
Copy link
Member

I think you'll have to exclude those files similar to posted on StackOverflow.

@marcphilipp marcphilipp closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants