Tabbed snippets
Library dependencies¶
Example of the @@dependency
directive:
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.0.10"
<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-http_2.12</artifactId>
<version>10.0.10</version>
</dependency>
</dependencies>
dependencies {
implementation "com.typesafe.akka:akka-http_2.12:10.0.10"
}
Snippet inclusion¶
Multiple snippets included from files:
sourceCompile / paradoxMaterialTheme ~= {
_.withFavicon("assets/images/favicon.png")
}
sourceCompile / paradoxMaterialTheme ~= {
_.withRepository(uri("https://github.com/sbt/sbt-paradox-material-theme"))
}
sourceCompile / paradoxMaterialTheme ~= {
_.withCopyright("""
Based on <a href="https://github.com/squidfunk/mkdocs-material">MkDocs Material</a>
by <a href="https://github.com/squidfunk">Martin Donath</a>
""")
}
sourceCompile / paradoxMaterialTheme ~= {
_.withFont("Ubuntu", "Ubuntu Mono")
}
0.7.0