pluginManagement {
    repositories {
        google {
            content {
                includeGroupByRegex("com\\.android.*")
                includeGroupByRegex("com\\.google.*")
                includeGroupByRegex("androidx.*")
            }
        }
        mavenCentral()
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {
            credentials {
                username "$atmob_maven_username"
                password "$atmob_maven_password"
            }
            allowInsecureProtocol = true
            url "$atmob_maven_url/repository/android-group/"
        }
        maven { url 'https://nexus.gravity-engine.com/repository/maven-releases/' }
        maven { url 'https://nexus.gravity-engine.com/repository/maven-snapshots/' }
        maven { url 'https://artifact.bytedance.com/repository/Volcengine/' }
    }
}
include ':libcocos', ':libservice', ':app'
project(':libcocos').projectDir = new File(COCOS_ENGINE_PATH, 'cocos/platform/android/libcocos2dx')
project(':app').projectDir = new File(NATIVE_DIR, 'app')
project(':app').name = "com-game-eliminate"
if (PROP_ENABLE_INSTANT_APP == "true" || PROP_ENABLE_INSTANT_APP == "yes") {
    include ':instantapp'
    project(':instantapp').projectDir = new File(NATIVE_DIR, 'instantapp')
}

rootProject.name = "com-game-eliminate"
