Visitar URL original
Inline mocking configuration snippet for Gradle should allow task relocatability · Issue #3605 · mockito/mockito · GitHub
Skip to content

Inline mocking configuration snippet for Gradle should allow task relocatability #3605

Closed

Description

@jprinet

The Mockito documentation snippet to configure inline mocking references the java agent with an absolute path in the JVM arguments (there).

This actually breaks relocatability as described in the Gradle documentation in the Gradle documentation.

The recommended approach is to use a CommandLineArgumentProvider

Activity

  1. added a commit that references this issue on Mar 14, 2025
    d185035
  2. added a commit that references this issue on Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions