Nice! :+1:


On Mon, Mar 17, 2014 at 3:18 PM, Lien <notifications@github.com> wrote:

> In src/main/groovy/com/vandalsoftware/tools/gradle/StalkerPlugin.groovy:
>
> > +
> > +    def setClassPaths(project, productFlavor, buildTypes, stalkerExt) {
> > +        for (bt in buildTypes) {
> > +            def srcClassPath = getSrcClassPath(project, productFlavor, bt)
> > +            project.logger.info("Adding stalker srcClassPath ${srcClassPath}")
> > +            stalkerExt.srcClassPath srcClassPath
> > +
> > +            def targetClassPath = getTargetClassPath(project, productFlavor, bt)
> > +            project.logger.info
> ("Adding stalker targetClassPath ${targetClassPath}")
> > +            stalkerExt.targetClassPath targetClassPath
> > +        }
> > +    }
> > +
> > +    def getSrcClassPath(project, productFlavor, buildType) {
> > +        if (productFlavor != null) {
> > +            return constructClassPath([project.buildDir.name, 'classes', productFlavor.name,
>
> Yes, this handles flavorGroups, the test cases have test for that!
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/VandalSoftware/stalker/pull/26/files#r10681729>
> .
>