-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
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
gradle plugin 4.4.1 breaks compatibility #87
Comments
For some reason my projects also were unable to build after updating 4.4.0 -> 4.4.1. Still investigating. |
@ItamarBenjamin, |
yes, when i explicltly reverted to 4.4.0 everything worked well as before. (previously i had imported the plugin with version 4.+) i will try to reproduce this situation on a sample project, our gradle setup is quite complex to copy it here |
Thank you @ItamarBenjamin and @ForNeVeR. |
I have been able to reproduce this issue in a sample project you can see the output here: BUILD SUCCESSFUL Total time: 5.786 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html ibinyami@itstl087 /tmp/art_gradle >vi build.gradle ********* here i change the plugin version to latest ********** ibinyami@itstl087 /tmp/art_gradle >gradle build FAILURE: Build failed with an exception.
BUILD FAILED Total time: 5.591 secs |
I have a similar setup, but in my case it silently fails telling that it cannot find the artifacts from my artifactory repo (and listing any sorts of URLs except my actual Artifactory repo). I have a config like this: artifactory {
contextUrl = 'https://[REDACTED]/artifactory'
resolve {
repository {
repoKey = '[REDACTED]'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
}
} I've compared the debug logs (obtained with
All the configuration files in my environment are the same. I'll try to play with the sample projects to get the repro. |
Thanks @ItamarBenjamin and @ForNeVeR, |
@eyalbe4 Hi Eyal, I've uploaded two gradle files with my last comment, they contain the sample for the output I posted before in that comment. |
@ItamarBenjamin lets create a public repo tomorrow in GitHub with the sample project. |
Sure @ezraroi, |
@ezraroi, @ItamarBenjamin and @ForNeVeR - please ignore my last comment, will rephrase and post again soon. |
I think that my case is different. I'll try to make a repro sample and post another issue ASAP. |
Hi @eyalbe4 Seems like the issue is that the new version of the plugin for some reason depends on the existence of the artifactoryPublish task in all subprojects. |
Thanks for the feedback @ItamarBenjamin.
|
Hi @eyalbe4
|
@ItamarBenjamin, |
@ItamarBenjamin, @ForNeVeR and @ezraroi,
|
Wow, it really seems that my problem was fixed by the patch. Thank you, guys! |
@eyalbe4 , is it released? how can we install 4.4.2? |
@regevbr, 4.4.2 will soon be published. |
@regevbr and all, |
Thanks everybody. Closing this issue. |
Thanks! |
i got an exception from gradle while building:
Task with name 'artifactoryPublish' not found in project ':api'
The text was updated successfully, but these errors were encountered: