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

Block plugins from adding maven repositories #48

Open
ccjernigan opened this issue May 12, 2022 · 0 comments
Open

Block plugins from adding maven repositories #48

ccjernigan opened this issue May 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ccjernigan
Copy link
Contributor

ccjernigan commented May 12, 2022

Is your feature request related to a problem? Please describe.

When Gradle plugins are applied, they can define their own Maven repositories. This could allow dependencies to come from sources that we don't trust.

Describe the solution you'd like

In settings.gradle.kts, configure

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

This is likely blocked until this is resolved: https://youtrack.jetbrains.com/issue/KT-52383/Kotlin-Multiplatform-Gradle-Plugin-Unable-to-disable-project-rep

@ccjernigan ccjernigan added the enhancement New feature or request label May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant