I can't get the grasp of what is registerProductFlavorSourceProvider and registerJavaArtifact are doing. they both need a sourceprovider so why not just register the artifact for the variant (with registerJavaArtifact) and the provider for the artifact incluides all the combination of dirs. (including src/test). why do i need to register twice the sourceProviders? would calling android.wrapJavaSourceSet(theSourceSet) generate the sole sourceProvider I need to pass to registerJavaArtifact per variant?
Also, you mentioned that the dependency information is missing. I get that. what are the plans to introduce this? Right now my Java Source sets have already the configuration needed. it would be awesome if a function like registerJavaSourceSet could take this source set (which has the info about its compiletask, classpath, outdir, configurations, etc) and create the artifact and register it itself. -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
