rayman
rayman

Reputation: 21616

How to support both maven and gradle for a java SDK client project

We are doing a java sdk client for our customers. we want to let them download it via public repository via gradle and/or maven

how do we support both? shall we create two separate projects one for gradle and one for maven? or is it possible to create only one and support both build types?

Thanks.

Upvotes: 0

Views: 64

Answers (1)

J Fabian Meier
J Fabian Meier

Reputation: 35843

Following your comment: If you build it either with Gradle or Maven and place the resulting jar in a Maven Repository, it can be used with both Gradle and Maven. Maven Repositories are a standard that is used by Gradle as well.

Upvotes: 1

Related Questions