Skip to content

Plugin has issue with java kotlin libraries. #147

@NamigGadir

Description

@NamigGadir

You can get the example project from here:
https://github.com/NamigGadir/pitest_issue.git

I have created one test project based on issue X.
When i want to increase library versions like this

id 'com.android.application' version '8.5.2' apply false
id 'com.android.library' version '8.5.2' apply false
id 'org.jetbrains.kotlin.android' version '2.1.10' apply false
id 'org.jetbrains.kotlin.jvm' version '2.1.10' apply false
id 'info.solidsoft.pitest' version '1.15.0' apply false
id 'pl.droidsonroids.pitest' version '0.2.20' apply false

Java libraries is not generating jar file when pitest. When i write command like :

./gradlew pitestDebug

I get error like :
A problem occurred configuring project ':app'.

Could not resolve all files for configuration ':app:debugUnitTestCompileClasspath'.
Failed to transform kotlin.jar (project :kotlin) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.environment=standard-jvm, org.gradle.jvm.version=17, org.gradle.libraryelements=jar, org.gradle.usage=java-api, org.jetbrains.kotlin.platform.type=jvm}.
> Execution failed for IdentityTransform: PitestProject/kotlin/build/libs/kotlin.jar.
> File/directory does not exist: PitestProject/kotlin/build/libs/kotlin.jar

@koral-- could you pls help me to integrate this plugin with newest gradle versions support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions