Julien Plissonneau Duquène
11/15/2024, 8:17 AMnative-platform project has three subprojects: native-platforms again, file-events and `test-app`:
Root project 'native-platform'
+--- Project ':file-events'
+--- Project ':native-platform'
\--- Project ':test-app'
In native-platform there is a test fixture interface that is needed by the tests in `file-events`:
native-platform
└── src
└── testFixtures
└── java
└── net
└── rubygrapefruit
└── platform
└── testfixture
└── JniChecksEnabled.java
In file-events, somewhere under src/test/groovy there is a Groovy class that references the test fixture interface above.
Now the question for you is, how do I get the tests of both native-platform and file-events to compile and run and find the Java test fixture interface without any of those:
• testImplementation testFixtures(...) here
• the java-test-fixtures plugin here
• all the current fancy APIs that didn't exist back in the time of Gradle 4.4.1: there is what is only allowed (and a big thanks to the project for keeping all the old docs and repos online).
Out of frustration I copied native-platform/src/testFixtures/java to native-platform/src/test/java and file-events/src/test/java and now the tests work for me, but maybe you know better?Julien Plissonneau Duquène
11/15/2024, 8:18 AMfile-events lib has been split to its own project, which makes this problem now completely irrelevant for any practical purpose, but I still want to know)ephemient
11/15/2024, 4:05 PMJulien Plissonneau Duquène
11/15/2024, 4:46 PM