Skip to content

Bug: fixNativeImageRun doesn't update tests/src/index.json #831

@kimeta

Description

@kimeta

Describe the bug

The fixNativeImageRun task should ensure that when regenerating metadata for a new library version, the tests/src/index.json is updated accordingly. Specifically, it must append the new version to the versions array of the matching library entry under the test-project-path that corresponds to the provided test coordinates.

Steps to reproduce

./gradlew ./gradlew fixTestNativeImageRun -PtestLibraryCoordinates="ch.qos.logback:logback-classic:1.4.1" -PnewLibraryVersion="1.5.7"

Expected behavior

The task should update all index.json files appropriately, however tests/src/index.json is currently not being updated.

Logs and error messages

none

Reproducer (optional)

No response

Additional context

No response

GraalVM version

GraalVM 21.0.8

Operating system

Linux

CPU architecture

AMD64 (x86-64)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions