question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gradle plugin: add maven repository for dependency resolution

See original GitHub issue

Currently, plugin adds dependencies but doensn’t add maven repositories, so users are forced to include them into build.gradle manually.

Plugin should add a repository itself. One of following could be used:

  • jcenter()
  • mavenCentral()

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
slandellecommented, Sep 2, 2020

What about environments that don’t have access to the internet and rely on a maven proxy (Nexus or Artifactory)?

0reactions
slandellecommented, Sep 2, 2020

Labelled as “Feature”.

As for an implementation - I’d stay away from new configuration options as much as possible.

OK then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Declaring repositories - Gradle User Manual
Gradle can resolve dependencies from one or many repositories based on Maven, Ivy or flat directory formats. Check out the full reference on...
Read more >
Add build dependencies - Android Developers
Learn how to add build dependencies using the Gradle build system in Android ... The dependencies can be located on your machine or...
Read more >
Gradle does not use the Maven Local Repository for a new ...
Gradle stores resolved dependencies in its own Dependency Cache. ... dependencies to the Maven's local repository from the build script.
Read more >
Gradle Repository - Javatpoint
We can add a Maven repository to our project by using its url address or its location by adding that particular code snippet...
Read more >
Resolving Gradle Plugins from Maven Repositories using the ...
Step 1: Added Maven Central to settings.gradle for pluginRepositories. ... Step 2: Add a plugin that's only found in Maven Central and not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found