Skip to content

findKotlinMagicFunTest task causes "No such file or directory" #1827

Description

@sschuberth

Contributor Checklist

(Optional) Build scan link

https://gradle.com/s/gg76cxj37xee2

Plugin version

3.18.0

Gradle version

9.7.0

JDK version

25

(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version

2.4.10

(Optional) Android Gradle Plugin (AGP) version

n/a

(Optional) reason output for bugs relating to incorrect advice

n/a

Describe the bug

Running the buildHealth task fails with

* What went wrong:
Execution failed for task ':downloader:findKotlinMagicFunTest' (registered by plugin 'com.autonomousapps.dependency-analysis').
> There was a failure while executing work items
   > A failure occurred while executing com.autonomousapps.tasks.FindKotlinMagicTask$Action
      > /home/sebastian/Development/GitHub/oss-review-toolkit/ort/downloader/build/classes/kotlin/test/org/ossreviewtoolkit/downloader/VcsHostTest$1$8$3.class (No such file or directory)

To Reproduce

Steps to reproduce the behavior:

  1. Checkout https://github.com/oss-review-toolkit/ort/tree/plugin-api-compile-only
  2. Run ./gradlew --scan buildHealth

Expected behavior

No "No such file or directory" error is thrown.

Additional context

n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions