pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositories { google() mavenCentral() } } rootProject.name = "Docmost" include(":app") val localBuildDir = "/tmp/android-build/Docmost" gradle.projectsLoaded { rootProject.layout.buildDirectory.set(file(localBuildDir)) rootProject.subprojects.forEach { project -> project.layout.buildDirectory.set(file("$localBuildDir/${project.name}")) } }