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

sourcecode 0.2.1


Group ID:
com.lihaoyi
Artifact ID:
sourcecode_2.13
Version:
0.2.1
Release Date:
Feb 6, 2020
Licenses:
MIT
Files:

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

Mill build tool

ivy"com.lihaoyi::sourcecode:0.2.1"

Ammonite REPL

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

<dependency>
  <groupId>com.lihaoyi</groupId>
  <artifactId>sourcecode_2.13</artifactId>
  <version>0.2.1</version>
</dependency>

compile group: 'com.lihaoyi', name: 'sourcecode_2.13', version: '0.2.1'