Cédric Champeau

Results 298 comments of Cédric Champeau

> I am not sure the need for having another DSL element. Perhaps a better error message in core should be worked on instead. I think we _definitely_ need a...

@graemerocher this is how the client is created in test resources: https://github.com/micronaut-projects/micronaut-test-resources/blob/777315172fc31a0c28006a485e6564a97a0037f4/test-resources-client/src/main/java/io/micronaut/testresources/client/TestResourcesClientFactory.java#L53-L56 I don't think there's a way to pass in a different object mapper, is it? Or would it...

The issue is that we cannot know when the kapt or ksp plugins are applied. So even if we add a check, it can fail. There's more going on than...

Yes, we can do something _when_ the KSP plugin is applied, or when the kapt plugin is applied. That's what we do. The thing is that we do it "twice"...

It would be a shame to have to implement this in the plugin, IMO. If you are facing this issue, there are a few things you can do. First, once...

This plugin is going to use, [at some point](https://github.com/micronaut-projects/micronaut-gradle-plugin/pull/228), the official [GraalVM native image plugin](https://github.com/graalvm/native-build-tools). This plugin offers an extension, `NativeImageOptions` which lets you add things on classpath. However, I...

> If for example the library project uses micronaut 3.4.0, and the project that consumes the library has 3.3.4, it causes alot of problems - because of the inject dependency....

Right but in this case I'd be interested in having a _real_ use case where this causes problems. Moving dependencies to `compileOnly` to _avoid dependency conflicts_ isn't the right model....

Can you check if you still have the same problem with the latest release, and if so, share a minimal reproducer?

Educated guess would be that the AOT system properties are not passed to the AOT optimizer run task.