pluginManagement {
    def agpVersion = "7.4.0"
    def kotlinVersion = "1.8.0"
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
    }
    plugins {
        id("com.android.application") version "$agpVersion"
        id("com.android.library") version "$agpVersion"
        id("org.jetbrains.kotlin.android") version "$kotlinVersion"
        id("org.jetbrains.kotlin.kapt") version "$kotlinVersion"
    }
}

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}

rootProject.name = "wireguard-android"

include ':tunnel'
include ':ui'