Hi Adam

I only suggested that the repo-key will be a property read from the
gradle.properties file, like you do for your username and password and can
also be passed dynamically when running release build.
Assuming you are not releasing builds with mixed module status
(released/dev) then this should be enough.

The Artifactory Plugin has major benefits:
1) At the end of the build, the plugin deploys a build info JSON objects
that has all the information recorded at runtime. You can then handle all
the build Artifacts as one unit for promotion etc. Please see our
wiki<http://wiki.jfrog.org/confluence/display/RTF/Build+Integration>for
more info
2) Highly configured HTTP client for uploading large artifacts.
3) Checksum deploy, Artifactory is a checksum based repository manager, all
artifacts with the same checksum are only saved once. The
plugin integration with Artifactory identifies already deployed artifacts
and simply does a cheap copy which means unchanged artifacts of the build
are not really being uploaded which save time and bandwidth (make sure you
disable jar time stamp meta-inf signature for integration builds).
4) Unlike the maven plugin, the Artifactory plugin only deploy the build
artifacts at the end of a successful build, this is important so you don't
end up with only half deployed artifacts when the build fails in the middle.

Regards
Ofer



   I see.  You're suggesting to include some logic to look at if the release
   ends in "SNAPSHOT" and then switch the repo key?  Isn't that a little wonky,
   because everyone needs to put similar logic in their scripts coming from
   Maven-land?  It would be much more natural, IMO, to be able to declare
   repositories strictly for snapshots.  If I misunderstand you, please correct
   me.

   The other alternative would be for me to use the Maven plugin.  Do you have
   a sense for the benefits of the Artifactory plugin for a project already
   comfortable with the limitations of the Maven conventions?

   Thanks,
   Adam



   --
   View this message in context:
http://forums.jfrog.org/Publishing-Snapshots-with-Gradle-Plugin-tp7578211p7578214.html
   Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to