Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio generated project disallows project repos by default #186

Open
Berstanio opened this issue Sep 25, 2022 · 0 comments
Open

Comments

@Berstanio
Copy link

In AS Dolphin 2021.3.1 android studio generates a project with the following settings.gradle:

pluginManagement {
    repositories {
        mavenLocal()
        gradlePluginPortal()
        google()
        mavenCentral()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenLocal()
        google()
        mavenCentral()
    }
}
rootProject.name = "My Application"
include ':app'

The problem is, that MOE injects repos into the project with the gradle plugin, which leads to a failure because of this configuration repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS).
So this should be either explain this in the docs or fixed on MOE side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant