7mind / sbtgen

SBT project generator for flexible monorepo flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JVM-only `depends` are filtered out in JVM projects when the dependee is not JVM-only

neko-kai opened this issue · comments

commented

Given

      Artifact(
        name = a,
        libs = Seq.empty,
        depends = Seq.empty,
        platform = JVM
       ),
      Artifact(
        name = b,
        libs = Seq.empty,
        depends = Seq(
          a in Scope.Compile.all,
        ),

b will not depend on a when --js is enabled. only worked around by depending as a in Scope.Compile.jvm