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

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

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 - 2024 Weber Informatics LLC | Privacy Policy