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

Support specified repositories for plugin DSL #139

Open
arssycro opened this issue Oct 7, 2022 · 0 comments
Open

Support specified repositories for plugin DSL #139

arssycro opened this issue Oct 7, 2022 · 0 comments
Labels
feature request Suggest an idea for this project

Comments

@arssycro
Copy link

arssycro commented Oct 7, 2022

Is your feature request related to a problem? Please describe.
We have an internal repository behind VPN that this plugin is able to access and update our regular dependencies, but our plugins are not being discovered.

I am guessing this is related to https://github.com/dipien/releases-hub-gradle-plugin/blob/master/releases-hub-gradle-plugin/src/main/java/com/releaseshub/gradle/plugin/artifacts/fetch/ArtifactUpgradeHelper.kt#L49-L52 (introduced for #56).

Describe the solution you'd like
I believe it should use the specified repositories in addition to the Gradle Portal.

Additional context
Here's a trimmed down, made up example of what our settings.gradle.kts looks like:

pluginManagement {
    plugins {
        id("com.internal.plugin") version "2.0.2"
    }

    repositories {
        maven {
            url = uri("https://private.internal.com/repository/maven-releases/")
            mavenContent {
                releasesOnly()
            }
        }
        gradlePluginPortal()
    }
}
@arssycro arssycro added the feature request Suggest an idea for this project label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea for this project
Development

No branches or pull requests

1 participant