Unfortunately, after updating to AS 2.1.3, Gradle 3.0 start throwing "ErrorCause org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection". I haven't found any information how to fix it. Maybe someone has a workaround?