pjfanning commented on PR #173:
URL: 
https://github.com/apache/incubator-pekko-grpc/pull/173#issuecomment-1705536587

   I suspect that we might need to abandon this. The gradle plugin tests are 
failing after this change and it looks like we would need to upgrade our gradle 
scripts to force use of the newer version of guava but this might force users 
of the pekko-grpc gradle plugin to explicitly force the upgrade too.
   
   ```
   * What went wrong:
   Execution failed for task ':extractIncludeProto'.
   > Could not resolve all files for configuration ':compileProtoPath'.
      > Could not resolve com.google.guava:guava:32.1.2-android.
        Required by:
            project : > 
org.apache.pekko:pekko-grpc-runtime_2.12:1.0.0-10-2d4aaa1b-SNAPSHOT
         > The consumer was configured to find a runtime of a component, 
preferably only the resources files. However we cannot choose between the 
following variants of com.google.guava:guava:32.1.2-android:
             - androidRuntimeElements
             - jreRuntimeElements
           All of them match the consumer attributes:
             - Variant 'androidRuntimeElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a runtime of a component, 
packaged as a jar:
                 - Unmatched attributes:
                     - Provides a library but the consumer didn't ask for it
                     - Provides its dependencies declared externally but the 
consumer didn't ask for it
                     - Provides attribute 'org.gradle.jvm.environment' with 
value 'android' but the consumer didn't ask for it
                     - Provides compatibility with Java 8 but the consumer 
didn't ask for it
                     - Provides release status but the consumer didn't ask for 
it
             - Variant 'jreRuntimeElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a runtime of a component, 
packaged as a jar:
                 - Unmatched attributes:
                     - Provides a library but the consumer didn't ask for it
                     - Provides its dependencies declared externally but the 
consumer didn't ask for it
                     - Provides attribute 'org.gradle.jvm.environment' with 
value 'standard-jvm' but the consumer didn't ask for it
                     - Provides compatibility with Java 8 but the consumer 
didn't ask for it
                     - Provides release status but the consumer didn't ask for 
it
           The following variants were also considered but didn't match the 
requested attributes:
             - Variant 'androidApiElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a component, packaged as a jar:
                 - Incompatible because this component declares an API of a 
component and the consumer needed a runtime of a component
             - Variant 'jreApiElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a component, packaged as a jar:
                 - Incompatible because this component declares an API of a 
component and the consumer needed a runtime of a component
      > Could not resolve com.google.guava:guava:31.1-android.
        Required by:
            project : > io.grpc:grpc-stub:1.54.2
            project : > io.grpc:grpc-stub:1.54.2 > io.grpc:grpc-api:1.54.2
         > The consumer was configured to find a runtime of a component, 
preferably only the resources files. However we cannot choose between the 
following variants of com.google.guava:guava:32.1.2-android:
             - androidRuntimeElements
             - jreRuntimeElements
           All of them match the consumer attributes:
             - Variant 'androidRuntimeElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a runtime of a component, 
packaged as a jar:
                 - Unmatched attributes:
                     - Provides a library but the consumer didn't ask for it
                     - Provides its dependencies declared externally but the 
consumer didn't ask for it
                     - Provides attribute 'org.gradle.jvm.environment' with 
value 'android' but the consumer didn't ask for it
                     - Provides compatibility with Java 8 but the consumer 
didn't ask for it
                     - Provides release status but the consumer didn't ask for 
it
             - Variant 'jreRuntimeElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a runtime of a component, 
packaged as a jar:
                 - Unmatched attributes:
                     - Provides a library but the consumer didn't ask for it
                     - Provides its dependencies declared externally but the 
consumer didn't ask for it
                     - Provides attribute 'org.gradle.jvm.environment' with 
value 'standard-jvm' but the consumer didn't ask for it
                     - Provides compatibility with Java 8 but the consumer 
didn't ask for it
                     - Provides release status but the consumer didn't ask for 
it
           The following variants were also considered but didn't match the 
requested attributes:
             - Variant 'androidApiElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a component, packaged as a jar:
                 - Incompatible because this component declares an API of a 
component and the consumer needed a runtime of a component
             - Variant 'jreApiElements' capabilities 
com.google.collections:google-collections:32.1.2-android and 
com.google.guava:guava:32.1.2-android declares a component, packaged as a jar:
                 - Incompatible because this component declares an API of a 
component and the consumer needed a runtime of a component
   
   * Try:
   Run with --debug option to get more log output. Run with --scan to get full 
insights.
   
   * Exception is:
   org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
':extractIncludeProto'.
        at 
org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
        at 
org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at 
org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at 
org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to