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.8+14-cfcad3ae


Group ID:
com.thoughtworks.enableIf
Artifact ID:
enableif_2.11
Version:
1.1.8+14-cfcad3ae
Version Scheme:
Release Date:
Oct 1, 2022
Licenses:
Files:
Full Scala Version:
2.11.12

libraryDependencies += "com.thoughtworks.enableIf" %% "enableif" % "1.1.8+14-cfcad3ae"

Mill build tool

ivy"com.thoughtworks.enableIf::enableif:1.1.8+14-cfcad3ae"

Scala CLI

//> using dep "com.thoughtworks.enableIf::enableif:1.1.8+14-cfcad3ae"

Ammonite REPL

import $ivy.`com.thoughtworks.enableIf::enableif:1.1.8+14-cfcad3ae`

<dependency>
  <groupId>com.thoughtworks.enableIf</groupId>
  <artifactId>enableif_2.11</artifactId>
  <version>1.1.8+14-cfcad3ae</version>
</dependency>

compile group: 'com.thoughtworks.enableIf', name: 'enableif_2.11', version: '1.1.8+14-cfcad3ae'