Android gradle plugin update to 3.3.0 throw NullPointerException
I just found the solution while trying other things. For some reason I had the Google Services plugin in my library's gradle file, so I removed it and the project built without issues.
I removed this line
apply plugin: 'com.google.gms.google-services'