how to specify maven compiler plugin order

前端 未结 4 852
故里飘歌
故里飘歌 2021-02-10 17:29

I\'m working on a mixed java and kotlin project by using maven.

The problem I\'m facing right now is, maven-compiler-plugin runs before compiling kotl

4条回答
  •  抹茶落季
    2021-02-10 17:49

    In case you are open to using a different build system, dependent projects are easy to set up with Kobalt:

    val p1 = javaProject { ... }
    
    val p2 = kotlinProject(p1) { ... }
    

    This makes project p2 depend on p1. You can also mix Java and Kotlin projects.

提交回复
热议问题