Mapstruct: Incremental annotation android

Created on 24 Feb 2020  路  4Comments  路  Source: mapstruct/mapstruct

Incremental annotation processing requested, but support is disabled because the following processors are not incremental: org.mapstruct.ap.MappingProcessor (NON_INCREMENTAL).

duplicate

Most helpful comment

With the next release (1.4) MapStruct would be an incremental processor according to Gradle's rules. See https://github.com/mapstruct/mapstruct/issues/1420

All 4 comments

With the next release (1.4) MapStruct would be an incremental processor according to Gradle's rules. See https://github.com/mapstruct/mapstruct/issues/1420

How can I use the 1.4.0-SNAPSHOT in android?

Gradle result:
Failed to resolve: org.mapstruct:mapstruct:1.4.0-SNAPSHOT

One way to use the snapshot is to use jitpack.io. Example can be found here. You can also use a specific commit.

ok, thanks

Was this page helpful?
0 / 5 - 0 ratings