Supporting Jira 7 & 8 SDK

I’m trying to figure out best practices for supporting both Jira 8 and Jira 7 in my app. We are using Maven and the Java SDK. I’m thinking I will need to create a multi-module project and use different SDK versions to compile each module. Is there a better way or any docs on how to do this?

Thanks!

This is indeed the most common approach, although I don’t believe there is any official recommendation from Atlassian.