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

io.github.erikvanzijst.scalatlsproxy.package.scala Maven / Gradle / Ivy

package io.github.erikvanzijst

import java.io.Reader
import java.util.Properties
import scala.io.Source.fromURL

package object scalatlsproxy {

  private val reader: Reader = fromURL(getClass.getResource("/proxy.properties")).reader()
  val properties = new Properties()
  properties.load(reader)

  val NAME: String = properties.getProperty("name")
  val VERSION: String = properties.getProperty("version")
  val BUILD_DATE: String = properties.getProperty("buildDate")

  reader.close()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy