pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() // JitPack is required for spake2-android, pulled in by :adb (libadb-android). // Kept at settings level so the :adb module stays untouched upstream. maven { url 'https://jitpack.io' } } } rootProject.name = 'scrcpy-android' include ':app' include ':adb' project(':adb').projectDir = new File(rootDir, 'vendor/libadb-android/libadb')