I am using this plugin in a multi-module project.
If I add the 'java-test-fixtures' plugin to certain sub-module (apply plugin: 'java-test-fixtures' ) and then try to load the gradle changes into IntelliJ IDEA I will get the following error:
Could not resolve all dependencies for configuration ':[...]:testRuntimeClasspath'. Failed to transform [...]-test-fixtures.jar (project :[...]) to match attributes {artifactType=jar, javaModule=true, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=11, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. Execution failed for ExtraModuleInfoTransform: [...]-test-fixtures.jar. java.io.FileNotFoundException: [...]-test-fixtures.jar (No such file or directory)
Running gradle build before loading the changes into IDEA works, but if for some reason the build does not run successfully it is very cumbersome to fix it without having the gradle project properly imported into the IDE.
I am using this plugin in a multi-module project.
If I add the 'java-test-fixtures' plugin to certain sub-module (
apply plugin: 'java-test-fixtures') and then try to load the gradle changes into IntelliJ IDEA I will get the following error:Could not resolve all dependencies for configuration ':[...]:testRuntimeClasspath'. Failed to transform [...]-test-fixtures.jar (project :[...]) to match attributes {artifactType=jar, javaModule=true, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=11, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. Execution failed for ExtraModuleInfoTransform: [...]-test-fixtures.jar. java.io.FileNotFoundException: [...]-test-fixtures.jar (No such file or directory)Running
gradle buildbefore loading the changes into IDEA works, but if for some reason the build does not run successfully it is very cumbersome to fix it without having the gradle project properly imported into the IDE.