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

"No matching variant of dev.bmcreations:scrcast:0.3.0 was found." using gradle #61

Open
czerus opened this issue Nov 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@czerus
Copy link

czerus commented Nov 28, 2022

Describe the bug
I cannot install library using gradle. After adding implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.21" to dependencies in build.gradle and running build I am getting following error:

   > Could not resolve dev.bmcreations:scrcast:0.3.0.
     Required by:
         project :xyz-kotlin
      > No matching variant of dev.bmcreations:scrcast:0.3.0 was found. The consumer was configured to find a runtime of a component, preferably only the resources files but:
          - Variant 'releaseApiPublication' capability dev.bmcreations:scrcast:0.3.0:
              - Incompatible because this component declares an API of a component, with the library elements 'aar' and the consumer needed a runtime of a component, preferably only the resources files
          - Variant 'releaseRuntimePublication' capability dev.bmcreations:scrcast:0.3.0 declares a runtime of a component:
              - Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, preferably only the resources files

the same happens for version 0.2.0

Expected behavior
build ends wiht success

To Reproduce
Add implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.21" to dependencies in build.gradle and run a build

Logs/Screenshots
If applicable, add logs or screenshots to help explain your problem.

Version
Library version: 0.3.0, 0.2.0
Ubuntu 20:04
java openjdk version "17.0.5" 2022-10-18
kotlin

@czerus czerus added the bug Something isn't working label Nov 28, 2022
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