For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

JavaTestFixturesPlugin

Adds support for producing test fixtures. This plugin will automatically create a `testFixtures` source set, and wires the tests to use those test fixtures automatically. Other projects may consume the test fixtures of the current project by declaring a dependency using the testFixtures method. This should really be named `JVMTestFixturesPlugin`, as there is no requirement for the test fixtures to be written in Java, any supported JVM language will work.

Since

5.6

See also

Constructors

Link copied to clipboard
@Inject
constructor()

Functions

Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.