Configures a Platform which will automatically set up the artifacts that should get published, including javadoc and sources jars depending on the option.