We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This question was asked previously on stackoverflow.com: https://stackoverflow.com/questions/48007689/artifactory-gradle-and-properties-mutation-by-artifactorypublish-task-dsl
And a GIST: was put out on GitHub here: https://github.com/lavcraft/gradle-artifactory-build-info-extractor-problems/tree/master
Essentially, i have the root project per documentation configuring access to artifactory:
artifactory { contextUrl = project.findProperty('artifactory_contextUrl') publish { repository { repoKey = 'libs-snapshot-local' username = project.findProperty('artifactory_user') password = project.findProperty('artifactory_password') } defaults { publications('nebula') publishConfigs('archives') publishIvy = false properties { nebula '*:*:*:*@*', 'want_to_add':'but not' // add only to *.pom artifacts. Why? mavenJava commonProperties, '*:*:*:*@*' } } } }
A sub-project adds a configuration and then tries to configure the properties closure:
artifactoryPublish { properties = ['aa':'aaa'] properties { nebula '*:*:*:*@*', 'not_added_prop':'sub0' } }
I can't seem to use the
artifactoryPublish { properties { all '*:*:*:*@*', prop1: "value1" } }
Would someone please have a look to see if I completely miss-understood how this would work here?
The text was updated successfully, but these errors were encountered:
@yahavi You have any insights here?
Sorry, something went wrong.
No branches or pull requests
How can we help?
This question was asked previously on stackoverflow.com: https://stackoverflow.com/questions/48007689/artifactory-gradle-and-properties-mutation-by-artifactorypublish-task-dsl
And a GIST: was put out on GitHub here:
https://github.com/lavcraft/gradle-artifactory-build-info-extractor-problems/tree/master
Essentially, i have the root project per documentation configuring access to artifactory:
A sub-project adds a configuration and then tries to configure the properties closure:
I can't seem to use the
Would someone please have a look to see if I completely miss-understood how this would work here?
The text was updated successfully, but these errors were encountered: