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

metalavaGenerateSignature Fails When Run Before Project is Built #9

Closed
tylerbwong opened this issue Nov 26, 2020 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@tylerbwong
Copy link
Owner

If the project is not fully built beforehand, running metalavaGenerateSignature yields

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':apollo-android-support:metalavaGenerateSignature'.
> Could not resolve all files for configuration ':apollo-android-support:debugCompileClasspath'.
   > Failed to transform apollo-runtime.jar (project :apollo-runtime) to match attributes {artifactType=android-classes, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for IdentityTransform: /home/tylerbwong/repos/apollo-android/apollo-runtime/build/libs/apollo-runtime-2.4.6-SNAPSHOT.jar.
         > Expecting a file or a directory: /home/tylerbwong/repos/apollo-android/apollo-runtime/build/libs/apollo-runtime-2.4.6-SNAPSHOT.jar
   > Failed to transform apollo-normalized-cache-jvm.jar (project :apollo-normalized-cache) to match attributes {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for IdentityTransform: /home/tylerbwong/repos/apollo-android/apollo-normalized-cache/build/libs/apollo-normalized-cache-jvm-2.4.6-SNAPSHOT.jar.
         > Expecting a file or a directory: /home/tylerbwong/repos/apollo-android/apollo-normalized-cache/build/libs/apollo-normalized-cache-jvm-2.4.6-SNAPSHOT.jar
   > Failed to transform apollo-normalized-cache-api-jvm.jar (project :apollo-normalized-cache-api) to match attributes {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for IdentityTransform: /home/tylerbwong/repos/apollo-android/apollo-normalized-cache-api/build/libs/apollo-normalized-cache-api-jvm-2.4.6-SNAPSHOT.jar.
         > Expecting a file or a directory: /home/tylerbwong/repos/apollo-android/apollo-normalized-cache-api/build/libs/apollo-normalized-cache-api-jvm-2.4.6-SNAPSHOT.jar
   > Failed to transform apollo-api-jvm.jar (project :apollo-api) to match attributes {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for IdentityTransform: /home/tylerbwong/repos/apollo-android/apollo-api/build/libs/apollo-api-jvm-2.4.6-SNAPSHOT.jar.
         > Expecting a file or a directory: /home/tylerbwong/repos/apollo-android/apollo-api/build/libs/apollo-api-jvm-2.4.6-SNAPSHOT.jar
   > Failed to transform apollo-http-cache-api.jar (project :apollo-http-cache-api) to match attributes {artifactType=android-classes, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for IdentityTransform: /home/tylerbwong/repos/apollo-android/apollo-http-cache-api/build/libs/apollo-http-cache-api-2.4.6-SNAPSHOT.jar.
         > Expecting a file or a directory: /home/tylerbwong/repos/apollo-android/apollo-http-cache-api/build/libs/apollo-http-cache-api-2.4.6-SNAPSHOT.jar

as the compile classpath is not available yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant