0

I need to import an artifact from a nuget repository in my gradle project. I've tried doing the following:

  1. Adding the repository in the gradle.build file:
repositories {
    maven { url "https://artifactory.mycompany.tools/artifactory/nuget-repo/" }
  }
  1. Adding the dependency:
  implementation("library:artifact:version")

But this does now work, because gradle is expecting a POM inside the repo. The artifact only contains a .nupkg file.

Mtubio
  • 15
  • 6
  • This should be possible using an Ivy repository with a suitable pattern. This answer should help: https://stackoverflow.com/a/34327202/4161471 – aSemy Apr 10 '23 at 21:15

0 Answers0