The Gradle Artifactory plugin looks for the Artifactory connection details only in the root project
Describe the bug The artifactoryPublish task doesn't publish the Build Info. According to @yahavi: "The Gradle Artifactory plugin looks for the Artifactory connection details only in the root project. I managed to make it works when moving some of the configuration to the root build.gradle file"
To Reproduce Build this sample project: https://github.com/rwinch/artifactory-deploy-sample
Expected behavior The build should publish Build Info.
Versions Latest client and Artifactory.
Spring Security is having this problem. Is there a workaround for this?
Our root project is not a Java project and is not published, so as far as I understand it we cannot really move the configurations to the root project short of restructuring our Gradle build to have something that is published in our Gradle root project (which is not a viable option).
If you can help find a workaround with the simple project that I've provided (without changing the root project to be a published Java project), then we could apply the same workaround to Spring Security.