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
Describe the bug There's not simple way to get the artifactory plugin to publish gradle plugins
To Reproduce Steps to reproduce the behavior
plugins { `java-gradle-plugin` id "com.jfrog.artifactory" version "4.28.0" } gradlePlugin { plugins { register("example") { id = "com.example" implementationClass = "com.example.ExamplePlugin" } } }
Expected behavior Running ./gradlew artifactoryPublish` should publish the gradle jar and plugin markers
Screenshots If applicable, add screenshots to help explain your problem.
Versions
Additional context NA
The text was updated successfully, but these errors were encountered:
The only way we've gotten publishing to work is to add all publications manually
afterEvaluate { tasks.named<org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask>("artifactoryPublish") { publications(*(publishing.publications.toTypedArray())) } }
Sorry, something went wrong.
This is important to me too, as Gradle authors already attempted to deprecate project.afterEvaluate (see https://docs.gradle.org/6.3/userguide/upgrading_version_5.html#calling_project_afterevaluate_on_an_evaluated_project_has_been_deprecated), which, with an ideal Artifactory plugin design, the following code shouldn't need to use:
project.afterEvaluate
afterEvaluate { tasks.named('artifactoryPublish', ArtifactoryTask) { publications 'ALL_PUBLICATIONS' } }
No branches or pull requests
Describe the bug
There's not simple way to get the artifactory plugin to publish gradle plugins
To Reproduce
Steps to reproduce the behavior
Expected behavior
Running ./gradlew artifactoryPublish` should publish the gradle jar and plugin markers
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
Additional context
NA
The text was updated successfully, but these errors were encountered: