Problem building custom plugin



We have a custom developed plugin for our app. Since a certain point (I don’t exactly know when), I had an issue with building this plugin. After googling the problem, I could solve it by explicitly adding the required library to the plugin gradle file:

dependencies {
compile(name:‘xxxx’, ext:‘aar’)
compile 'com.journeyapps:zxing-android-embedded:3.0.2@aar’
compile ‘’

Committed the code, but all other developers could not build now! So I do with these two lines and the others do without them. This would still be livable but I just noticed that the QR Code Scanner plugin does not work on my builds!

Do you have any idea how I can solve this issue on my machine?