Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Allow to not invoke the test aot task with Gradle #1338

Description

@julb

Dear team,

I was thinking that I could be interesting to have an easy way to disable AOT for unit tests.
Indeed, for example, I'm currently building a Spring cloud function and I haveimplemented unit tests as indicated in Spring Cloud Function docs.
I will package this function with Native, but I don't want to tackle the native part for unit tests, the classic unit tests are fine.

In the gradle plugin, this section enables the aotTest for all tasks of type Test. Wouldn't it be good to do that section for GraalVM nativeTest task only ?

Also, aotMain seems to be run only for nativeCompile task so I think it would make sense to do the same for test.

What do you think ?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions