pitest-kotlin icon indicating copy to clipboard operation
pitest-kotlin copied to clipboard

publish the plugin

Open christophsturm opened this issue 7 years ago • 7 comments

the readme makes it look like the plugin is available from maven central but i cannot find it there.

christophsturm avatar Aug 22 '18 21:08 christophsturm

I have the same issue, is there any solution ?

andmontanezp avatar Oct 23 '18 02:10 andmontanezp

the readme makes it look like the plugin is available from maven central but i cannot find it there.

I think I've got a solution for this issue, I don't know what are you looking for but in my case I needed to get the mutation coverage of a codebase written in both java and kotlin. I just upgraded the pitest-plugin version to 1.2.4 classpath("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.2.4") after that, just execute gradle clean and gradle pitest -Doverride.pitest.mutationThreshold= Let me know whether it was useful or not.

andmontanezp avatar Oct 23 '18 02:10 andmontanezp

Same issue. I tried what you said @assembler07, but it did not work. The repo does not seem to exist https://search.maven.org/search?q=pitest-kotlin-plugin

zogar1993 avatar Nov 23 '18 02:11 zogar1993

I published it to bintray

To use my repo add following to buildscript section of your Gradle file:

    repositories {
        maven { url "https://dl.bintray.com/vantuz/pitest-kotlin" }
        ...
    }

and

    dependencies {
        classpath "info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.5"
        pitest "org.pitest:pitest-kotlin-plugin:1.0"
        ...
    }

Vantuz avatar Oct 09 '19 16:10 Vantuz

how to configure it in a build.gralde.kts file with the Kotlin DSL?

Simulant87 avatar Jun 15 '20 12:06 Simulant87

Looks like you can get it through jitpack.io: https://jitpack.io/#pitest/pitest-kotlin

dalewking avatar Sep 22 '20 13:09 dalewking

For maven users, I've have deployed the code myself. You can use this dependency:

<dependency>
    <groupId>com.github.joaogfarias</groupId>
    <artifactId>pitest-kotlin-plugin</artifactId>
    <version>0.1-SNAPSHOT</version>
</dependency>

https://oss.sonatype.org/#nexus-search;quick~pitest-kotlin-plugin

JoaoGFarias avatar Oct 06 '20 13:10 JoaoGFarias