com-lihaoyi / sourcecode   0.3.0

GitHub

Scala library providing "source" metadata to your program, similar to Python's __name__, C++'s __LINE__ or Ruby's __FILE__.

Scala versions: 2.10 2.11 2.12 2.13 3.x
Scala.js versions: 0.6 1.x
Scala Native versions: 0.3 0.4

sourcecode 0.2.7


Group ID:
com.lihaoyi
Artifact ID:
sourcecode_3
Version:
0.2.7
Release Date:
May 13, 2021
Licenses:
MIT
Files:

libraryDependencies += "com.lihaoyi" %% "sourcecode" % "0.2.7"

Mill build tool

ivy"com.lihaoyi::sourcecode:0.2.7"

Scala CLI

//> using lib "com.lihaoyi::sourcecode:0.2.7"

Ammonite REPL

import $ivy.`com.lihaoyi::sourcecode:0.2.7`

<dependency>
  <groupId>com.lihaoyi</groupId>
  <artifactId>sourcecode_3</artifactId>
  <version>0.2.7</version>
</dependency>

compile group: 'com.lihaoyi', name: 'sourcecode_3', version: '0.2.7'