↓ いわゆるutilities だが, ここが膨れるとヤバいので薄く保っている lazy val base = project in file("modules/base") // ↓ いわゆるビジネスロジック lazy val domain = (project in file("modules/domain")).dependsOn(base) // ↓JDBC やhttp client などへの依存はここ lazy val interface = (project in file("modules/interface")).dependsOn(base, domain) // ↓ アプリケーション全体の結合. フレームワークとかへの依存はここ lazy val api = (project in file("api")).dependsOn(base, domain, interface) 14