I need to import an artifact from a nuget repository in my gradle project. I've tried doing the following:
- Adding the repository in the gradle.build file:
repositories {
maven { url "https://artifactory.mycompany.tools/artifactory/nuget-repo/" }
}
- 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.