Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface Language extends ExtensibleEnum {
*
* @deprecated Use {@link #RESOURCES} instead.
*/
@Deprecated
@Deprecated(since = "4.0.0", forRemoval = false)
Comment thread
desruisseaux marked this conversation as resolved.
Language SCRIPT = language("script");

// TODO: this should be moved out from here to Java Support (builtin into core)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,19 @@
*/
public interface Artifact extends Comparable<Artifact> {

/**
* @deprecated The use of the {@code RELEASE} version is discouraged because it results
* in non-reproducible builds and exposes projects to potential supply chain attacks.
* Use explicit versions instead.
*/
@Deprecated(since = "4.0.0")
String RELEASE_VERSION = "RELEASE";

/**
* @deprecated The use of the {@code LATEST} version is discouraged because it results
* in non-reproducible builds and exposes projects to potential supply chain attacks.
* Use explicit versions instead.
*/
@Deprecated(since = "4.0.0")
String LATEST_VERSION = "LATEST";

Expand Down