All Downloads are FREE. Search and download functionalities are using the official Maven repository.

plotly.internals.Properties.scala Maven / Gradle / Ivy

The newest version!
package plotly.internals

import java.util.{Properties => JProperties}

object Properties {

  private lazy val props = {
    val p = new JProperties
    try {
      p.load(
        getClass.getClassLoader
          .getResourceAsStream("plotly/plotly-scala.properties")
      )
    } catch {
      case _: NullPointerException =>
    }
    p
  }

  lazy val plotlyJsVersion = props.getProperty("plotly-js-version")
  lazy val version         = props.getProperty("version")
  lazy val commitHash      = props.getProperty("commit-hash")

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy