com-lihaoyi / sourcecode   0.4.2

GitHub

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

Scala versions: 3.x 2.13 2.12
Scala.js versions: 1.x
Scala Native versions: 0.5

sourcecode 0.3.1


Group ID:
com.lihaoyi
Artifact ID:
sourcecode_3
Version:
0.3.1
Release Date:
Sept 22, 2023
Licenses:
MIT
Files:
Full Scala Version:
3.1.3
Developers:

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

Mill build tool

ivy"com.lihaoyi::sourcecode:0.3.1"

Scala CLI

//> using dep "com.lihaoyi::sourcecode:0.3.1"

Ammonite REPL

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

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

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