Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // In the library module:
- android {
- ...
- flavorDimensions 'check'
- productFlavors {
- noBase {}
- withBase {}
- }
- ..
- }
- // in the app module:
- dependencies {
- implementation project(path: ':mylib', configuration: 'noBaseRelease')
- }
- // ERROR:
- //Unable to resolve dependency for ':example@debug/compileClasspath': Could not resolve project :mylib.
- //Could not resolve project :mylib.
- //Required by:
- // project :example
- // > Project :example declares a dependency from configuration 'implementation' to configuration 'noBaseRelease' which is not declared in the descriptor for project :mylib.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement