0

在lagom 文档中定义服务描述时,我定义了如下服务:

lazy val userApi = project("user-api")
    .settings(
    version := "1.0-SNAPSHOT",
    libraryDependencies += lagomJavadslApi
    )
lazy val userImpl = project("user-impl")
    .enablePlugins(LagomJava)
    .settings(
        version := "1.0-SNAPSHOT",
        libraryDependencies ++= Seq(
        lagomJavadslPersistence,
        lagomJavadslTestKit
        )
    )
.settings(lagomForkedTestSettings: _*)
.dependsOn(userApi)

但是在使用目录结构构建activator或未创建时。sbtuser-api/src/main/javauser-impl/src/main/java

4

0 回答 0