Annotation Interface Version


@Retention(RUNTIME) public @interface Version
Version information provided to CustomScala as an alternative to ScalaVersion.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    A location for a library jar for the Scala library.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The download url for the Scala-2 standard library (for Scala 3, use the url for Scala 2.13).
    The download url for the Scala-2 reflection library (for Scala 3, use the url for Scala 2.13).
    The Scala version string.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Download urls for additional jar files for classes not included in the standard library or reflection library.
  • Element Details

    • value

      String value
      The Scala version string.
    • scalaLibraryUrl

      String scalaLibraryUrl
      The download url for the Scala-2 standard library (for Scala 3, use the url for Scala 2.13).
    • scalaReflectUrl

      String scalaReflectUrl
      The download url for the Scala-2 reflection library (for Scala 3, use the url for Scala 2.13).
    • scalaLibs

      Download urls for additional jar files for classes not included in the standard library or reflection library.
      Default:
      {}