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

sourcecode 0.3.0


Group ID:
com.lihaoyi
Artifact ID:
sourcecode_3
Version:
0.3.0
Release Date:
Jul 8, 2022
Licenses:
MIT
Files:

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

Mill build tool

ivy"com.lihaoyi::sourcecode:0.3.0"

Scala CLI

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

Ammonite REPL

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

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

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