pluginManagement {
    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
    }
}
plugins {
    id 'org.gradle.toolchains.foojay-resolver-convention' version '0.10.0'
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}

rootProject.name = "AndroidCast"
include ':app'
include ':session-studio'
project(':session-studio').projectDir = file('desktop/session-studio')

def wgTunnelDir = file('third-party/wireguard-android/tunnel')
if (wgTunnelDir.exists()) {
    include ':tunnel'
    project(':tunnel').projectDir = wgTunnelDir
}
