-
Notifications
You must be signed in to change notification settings - Fork 20
Unable to configure in multimodule project #9
Comments
Same issue here... Any solution? |
@pabloppp Can you provide each |
i hava same Issue.. plz.... |
Happens same to me. Here I leave the build.gradles For app:
For library:
The comments // buildConfigVariables has groups of those properties but not copied for obvious reasons and same happens in // more compile dependencies Using Android Studio 3.0, Gradle 4.1 with plugin 3.0.1. Ping me if you need more information to track down this bug. The behavior I've obtained is the same as @pabloppp |
* Error due to the Android plugin not able to find a matching flavor in the sub project when compiling the top level project * We can't just skip the 'compile' named configuration on every variant as this is successful for most tasks. * In the future hunting down the exact task, variants, and / or configurations could clean up this try-catch. * Added multimodule test support as well as created a test for this case * Resolves #9
* Error due to the Android plugin not able to find a matching flavor in the sub project when compiling the top level project * We can't just skip the 'compile' named configuration on every variant as this is successful for most tasks. * In the future hunting down the exact task, variants, and / or configurations could clean up this try-catch. * Added multimodule test support as well as created a test for this case * Resolves #9
@pabloppp @Javieraeros @myeonginwoo @aldoborrero Thanks for reporting this issue. Just fix this issue in the commit above. We will create a release next week with this fix included. |
It is now released in version 0.8.0. |
Then if I try to change How we change |
We're trying to use the OneSignal Android SDK in a multimodule Android app, and we're finding it impossible to configure.
Here's the steps I follow:
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
When I try to build the gradle project I get the following error:
Then if I try to change
implementation project(path: ':data')
toimplementation project(path: ':data', configuration: 'default')
I get
We're using Android Studio 3.0 and Gradle 4.3.1 with plugin 3.0.0
The text was updated successfully, but these errors were encountered: