Is it possible to set a value from a field from the *application.properties* file?

I am looking for something like

```
    @Mapping(target="version", expression="${application.version}")
    StateDto stateToStateDto(State state);

```

where `application.version=v1` is from the *application.properties* file.