use maven's pom.xml for gradle build dependencies?

Viewed 5153

My question is fairly simple. I have a maven java project and I would like to build it with gradle. currently I have a pom.xml file where I'm managing dependencies, as well as a build.gradle file where I list each of these dependencies as:

// build.gradle file:
dependencies {
     compile (
        <some groupId>:<some artifactId>:<some version>,
        etc.
    )
}

I'd really like to avoid this redundancy but I do not see any way to have the build.gradle file integrate pom.xml into it's dependencies. Any help on this would be greatly appreciated.

1 Answers
Related