mapstruct-examples icon indicating copy to clipboard operation
mapstruct-examples copied to clipboard

Android, builders fluent setters, AutoValue

Open arberg opened this issue 5 years ago • 3 comments

arberg avatar Mar 24 '19 16:03 arberg

Hi Sjaak,

Yeah I can see why that's a problem. You need android-sdk to compile it, and I can see why you wouldn't want to add that as a compile dependency.

I cannot compile the other tests. I use intellij and gradle, and don't know how to setup compilation on map-struct-test.

One option forward would be to just move the code to a non-android package like the others, there are lots of the samples, that are not elsewhere in the samples.

Additionally we might link the android project, https://github.com/abeade/mapstruct-test which includes mapstruct in an android codebase.

Best Alex

arberg avatar Jun 10 '19 14:06 arberg

Hi Sjaak,

Yeah I can see why that's a problem. You need android-sdk to compile it, and I can see why you wouldn't want to add that as a compile dependency.

I cannot compile the other tests. I use intellij and gradle, and don't know how to setup compilation on map-struct-test.

One option forward would be to just move the code to a non-android package like the others, there are lots of the samples, that are not elsewhere in the samples.

Additionally we might link the android project, https://github.com/abeade/mapstruct-test which includes mapstruct in an android codebase.

Best Alex

Hey Alex,

I'll have how to merge your example I'm not so fluent in gradle, so it will take some some time.

Thanks for your contribution, Sjaak

sjaakd avatar Jun 12 '19 20:06 sjaakd

You are welcome. I'll be here if you have other questions, and if you decide to avoid Android, no problem.

Best Alex

arberg avatar Jun 22 '19 19:06 arberg