Packages

package build

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. build
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class ExposedTestScope extends Annotation with StaticAnnotation

    Makes a test scope class visible in ANOTHER module's test scope when IzumiInheritedTestScopesPlugin is used.

    Makes a test scope class visible in ANOTHER module's test scope when IzumiInheritedTestScopesPlugin is used.

    See also

    https://izumi.7mind.io/sbt/#inherited-test-scopes for further details

Value Members

  1. object BuildAttributeMacroImpl
  2. object BuildAttributes
  3. object MacroParameters

    These helpers allow you to save various build-time properties defined by Scala 2 -Xmacro-settings commandline argument.

    These helpers allow you to save various build-time properties defined by Scala 2 -Xmacro-settings commandline argument.

    Add the following properties into your build.sbt to make this work:

    scalacOptions ++= Seq(
      s"-Xmacro-settings:product-version=${version.value}",
      s"-Xmacro-settings:product-group=${organization.value}",
      s"-Xmacro-settings:product-name=${name.value}",
      s"-Xmacro-settings:sbt-version=${sbtVersion.value}",
      s"-Xmacro-settings:scala-versions=${crossScalaVersions.value.mkString(":")}",
    
      s"-Xmacro-settings:scalatest-version=${V.scalatest}",
    
      s"-Xmacro-settings:git-repo-clean=${gitUncommittedChanges.value}",
      s"-Xmacro-settings:git-branch=${gitCurrentBranch.value}",
    
      s"-Xmacro-settings:is-ci=${insideCI.value}",
    )

    Git snippets:

    gitDescribedVersion.value.map(v => s"-Xmacro-settings:git-described-version=$v"),
    gitHeadCommit.value.map(v => s"-Xmacro-settings:git-head-commit=$v"),

    Or

    s"-Xmacro-settings:git-described-version=${gitDescribedVersion.value.getOrElse("")}",
    s"-Xmacro-settings:git-head-commit=${gitHeadCommit.value.getOrElse("")}",
  4. object MacroParametersImpl

Inherited from AnyRef

Inherited from Any

Ungrouped