I'm trying to include my Android library androidevents
in my app:
settings.gradle
include ':app'
include ':androidevents'
project(':androidevents').projectDir = new File('path/to/my/library')
build.gradle
...
dependencies {
....
compile project(':androidevents')
}
When I build the project, I get this error:
Error:Configuration with name 'default' not found.
What am I doing wrong?