playframework - Scala import package from subproject -


i have subproject has been imported in root of project (root) domain subproject

the directory structure looks this:

 root   - modules     - domain       - src        - main          - scala            - com.example              - domain                - myclass 

my build.sbt file in root project contains this:

lazy val root = (project in file(".")).aggregate(data, domain).enableplugins(playscala)dependson(domain) lazy val domain = (project in file("modules/domain")).dependson(data) 

i'm trying state import in 1 of files this:

import com.example.domain._

however, doesn't seem working, can't resolve myclass inside above file.


Comments