Converting a Maven project to Gradle

2019-08-05 08:33发布

问题:

I was able to use Gradle's init plugin to export most of the contents of the POM (all dependencies) to the build.gradle file. However the the <build> section was not imported into the build.gradle. The below was not imported.

E.g.

<plugin>
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <instructions>
            <Bundle-SymbolicName>my-group-id.myproject-bundle</Bundle-SymbolicName>
        </instructions>
    </configuration>
</plugin>

Please let me know how this can be imported into the build.gradle file.

标签: maven gradle