We have built a gradle plugin using
id("org.jetbrains.intellij") version "1.15.0"
id("org.springframework.boot") version "2.7.16"
id("io.spring.dependency-management") version "1.0.15.RELEASE"
This is getting picked up by the central maven but we want it to be from the artifactory that we provide or from the local system path where I have downloaded the pom. Any leads will be appreciated.
We have tried using the below code but to no avail:
buildscript {
repositories {
maven {
url=uri("url")
}
}
}
Gradle searches for plugins defined inside the
pluginsblock in repositories that are defined in thepluginManagementblock of thesettings.gradle.ktsfile (documentation).For example: