thoughtworksinc / enableif.scala   1.2.0

Apache License 2.0 GitHub

A library that toggles Scala code at compile-time, like #if in C/C++

Scala versions: 2.13 2.12 2.11 2.10

enableif 1.1.7+75-43f1c2fb


Group ID:
com.thoughtworks.enableIf
Artifact ID:
enableif_2.12
Version:
1.1.7+75-43f1c2fb
Version Scheme:
Release Date:
Mar 21, 2022
Licenses:
Files:
Full Scala Version:
2.12.15

libraryDependencies += "com.thoughtworks.enableIf" %% "enableif" % "1.1.7+75-43f1c2fb"

Mill build tool

ivy"com.thoughtworks.enableIf::enableif:1.1.7+75-43f1c2fb"

Scala CLI

//> using dep "com.thoughtworks.enableIf::enableif:1.1.7+75-43f1c2fb"

Ammonite REPL

import $ivy.`com.thoughtworks.enableIf::enableif:1.1.7+75-43f1c2fb`

<dependency>
  <groupId>com.thoughtworks.enableIf</groupId>
  <artifactId>enableif_2.12</artifactId>
  <version>1.1.7+75-43f1c2fb</version>
</dependency>

compile group: 'com.thoughtworks.enableIf', name: 'enableif_2.12', version: '1.1.7+75-43f1c2fb'