RFR: Touch up gradle build

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Dec 13 09:58:50 UTC 2024


On Wed, 11 Dec 2024 18:26:33 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> I'm setting up the jextract repo on a new machine, and ran into a couple of small build issues that this PR addresses:
> 
> 1.) intellij will try to collect all tasks defined by the gradle build, but this is currently failing if you don't have the jacoco agent configured, since that's needed to 'configure' one of the test tasks. The fix I added is to only lazily register the test task for coverage instead.
> 
> 2.) If you want to debug a jtreg test through Intellij, it's nice to be able to build the test image and native test libraries as a pre-run step. I've added a new task called `testDeps` which does both of these things, and can be easily referenced from a run configuration.

Marked as reviewed by mcimadamore (Reviewer).

-------------

PR Review: https://git.openjdk.org/jextract/pull/263#pullrequestreview-2501882033


More information about the jextract-dev mailing list