How to create sub projects in Play Framework? (play#play-java_2.9.2;2.1-RC3: not found)

前端 未结 2 644
梦毁少年i
梦毁少年i 2021-02-15 12:20

I want to test how sub projects work, especially how the routes of the sub project are taken into account in main project (this was not visible before).

I h

2条回答
  •  一向
    一向 (楼主)
    2021-02-15 12:29

    I found that I had to explicitly set the scala version to 2.10.0 because the subprojects caused a conflict with 2.9.2.

    val main = play.Project(appName, appVersion, appDependencies).settings(
        scalaVersion := "2.10.0"
    )
    

    Example taken from this question.

提交回复
热议问题