java - Converting custom maven pom config to custom build.gradle config -


i have task move project maven gradle , wondering how might implement execution of custom plugin:

my pom:

<plugins>   <plugin>     <groupid>myproj.tool</groupid>     <artifactid>my.plugin</artifactid>     <executions>       <execution>         <goals>           <goal>generate</goal>         </goals>         <phase>generate-sources</phase>         <configuration>           <dictfile>${basedir}/src/main/resources/project7.xml</dictfile>           <packaging>custom.api</packaging>           <fieldpackage>custom.api.field</fieldpackage>           <!-- optional configs schemadirectory, outputdirectory, decimal, orderedfields -->         </configuration>       </execution>     </executions>   </plugin> </plugins> 

so far build.gradle file

group = 'myproj.tool.plugin' description = '' dependencies {   compile project('quickfixj-api') } 


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -