import viaduct.gradle.internal.includeNamed

pluginManagement {
    repositories {
        gradlePluginPortal()
    }
    includeBuild("../../build-logic")
}

plugins {
    id("settings.common")
}

// Include core modules
includeNamed(":engine:api", "../..")
includeNamed(":engine:runtime", "../..")
includeNamed(":engine:wiring", "../..")
includeNamed(":service", "../..")
includeNamed(":service:api", "../..")
includeNamed(":service:runtime", "../..")
includeNamed(":service:wiring", "../..")
includeNamed(":tenant:api", "../..")
includeNamed(":tenant:codegen", "../..")
includeNamed(":tenant:runtime", "../..")
includeNamed(":tenant:wiring", "../..")

// Include Java API modules
includeNamed(":x:javaapi:api", "../..")
includeNamed(":x:javaapi:runtime", "../..")

// Include all shared modules
includeNamed(":shared:arbitrary", "../..")
includeNamed(":shared:dataloader", "../..")
includeNamed(":shared:utils", "../..")
includeNamed(":shared:logging", "../..")
includeNamed(":shared:deferred", "../..")
includeNamed(":shared:graphql", "../..")
includeNamed(":shared:viaductschema", "../..")
includeNamed(":shared:invariants", "../..")
includeNamed(":shared:codegen", "../..")
includeNamed(":shared:mapping", "../..")
includeNamed(":snipped:errors", "../..")
