Gradle Plugin 0.11 replaces the default File of source sets with DefaultAndroidSourceDirectorySet
For example this gradle code below:
project.subprojects.each { submodule -> submodule.android.sourceSets.each { sourceSet -> sourceSet.java.each { file ->
// This 'file' used to be of type java.io.File now it is com.android.build.gradle.internal.api.DefaultAndroidSourceDirectorySet
}
}}
Therefore if you made any assumptions about this variable (for instance using toString() ) they will now be broken. The new DefaultAndroidSourceDirectorySet has an overridden toString method that returns the toString of an internal list. Before you may have got "src/java/main" and now you will get "[src/java/main]".
--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/Bt6hagxzqR0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.