Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: gradle support #8

Open
SSopin opened this issue Jun 26, 2017 · 0 comments
Open

Feature request: gradle support #8

SSopin opened this issue Jun 26, 2017 · 0 comments

Comments

@SSopin
Copy link

SSopin commented Jun 26, 2017

Please provide gradle wrapper to use the plugin.

Temporary workaround:

String classDir = project.buildDir.absolutePath + '\\classes'
        if(new File(classDir).exists()) {
            ant.taskdef(name: 'highwheel',
                    classname: 'org.pitest.highwheel.ant.AnalyseTask',
                    classpath: configurations.highwheel.asPath
            )
            String rep = "${reportsDir}" + "\\highwheel"
            def reports = new File(rep)
            if (!reports.exists()) reports.mkdirs()

            def path = ant.path {
                dirset(dir: 'build/classes') {
                    include = '*'
                }
            }

            ant.highwheel(analysisPath: path, filter: '*com.example.*', outputDir: "${reportsDir}/highwheel")
@SSopin SSopin changed the title Gradle support Feature request: gradle support Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant