Version 3.2.0, 3.3.0 with AGP 3.2.1, 3.2.0, 3.1.0, Gradle 4.5, 4.6, 4.8 all fail with
Cannot change dependencies of configuration after it has been included in dependency resolution
The problem seems to be in AspectJCompileTask reading/iterating javaCompiler.classpath which probably does something nasty inside DefaultConfigurableFileCollection.files or DefaultConfiguration$ConfigurationFileCollection.files
Note: some version configurations require small patches to fix NoSuchMethodError-s
Version 3.2.0, 3.3.0 with AGP 3.2.1, 3.2.0, 3.1.0, Gradle 4.5, 4.6, 4.8 all fail with
Cannot change dependencies of configuration after it has been included in dependency resolution
The problem seems to be in AspectJCompileTask reading/iterating javaCompiler.classpath which probably does something nasty inside DefaultConfigurableFileCollection.files or DefaultConfiguration$ConfigurationFileCollection.files
Note: some version configurations require small patches to fix NoSuchMethodError-s
Will try to reproduce in a small project