Version 5 Artifactory Configuration Documentation Missing
Opened this issue · 1 comments
Describe the bug
Trying to update to v5 plugin for kotlin syntax build.gradle.kts
.
Here is where the old docs are, and there isn't any info on v5 configuration. Here is an example for v4 kts. None exist for v5
Old ResolverConfig can't be found with v5 plugin. Ex:
import org.jfrog.gradle.plugin.artifactory.dsl.ResolverConfig
allprojects {
artifactory {
setContextUrl("https://artifactory.something.zz/artifactory")
resolve(
delegateClosureOf<ResolverConfig> {
repository {
setProperty("repoKey", "maven")
setProperty("username", System.getenv("UN"))
setProperty("password", System.getenv("PW"))
setProperty("maven", true)
}
},
)
}
}
Current behavior
Docs exist for v4, but not v5
Reproduction steps
Look around for documentation for kts format... not really any out there.
Expected behavior
Docs should be released with breaking changes please
Artifactory Gradle plugin version
v5
Operating system type and version
mac
JFrog Artifactory version
No response
Gradle version
No response
Hey @thejeff77,
Thanks for using the Gradle Artifactory plugin. In Major 5, we made some changes. We removed the resolver config. To resolve dependencies from Artifactory, follow the steps in the Gradle documentation to configure a Maven repository in your build.gradle.kts
.
For more details, check out the full v5 documentation, which includes information about the breaking changes in the readme file of this project.