The doc for compileOnly states “Compile time only dependencies, not used at runtime”, while providedCompile says "…except that they are not added to the WAR archive. " , and this blog post says that it is a “similar capability”. In the case of a war, are they effectively the same, or should we continue to use providedCompile for wars, and compileOnly elsewhere? If they are the same, will providedCompile eventually be deprecated?
Thanks!