Include google analytics in online version of docs. See #1892
This commit is contained in:
parent
6e22fe7ea7
commit
d0e498ca16
5 changed files with 39 additions and 7 deletions
|
|
@ -28,13 +28,15 @@ object Dist {
|
|||
distLibJars <<= (thisProjectRef, buildStructure, distExclude) flatMap aggregated(packageBin.task in Compile),
|
||||
distSrcJars <<= (thisProjectRef, buildStructure, distExclude) flatMap aggregated(packageSrc.task in Compile),
|
||||
distDocJars <<= (thisProjectRef, buildStructure, distExclude) flatMap aggregated(packageDoc.task in Compile),
|
||||
distSources <<= (distDependencies, distLibJars, distSrcJars, distDocJars, Unidoc.unidoc, Sphinx.sphinx) map DistSources,
|
||||
distSources <<= (distDependencies, distLibJars, distSrcJars, distDocJars, Unidoc.unidoc, Sphinx.sphinx in docsProject) map DistSources,
|
||||
distDirectory <<= crossTarget / "dist",
|
||||
distUnzipped <<= distDirectory / "unzipped",
|
||||
distFile <<= (distDirectory, version) { (dir, v) => dir / ("akka-" + v + ".zip") },
|
||||
dist <<= distTask
|
||||
)
|
||||
|
||||
def docsProject: ProjectReference = LocalProject(AkkaBuild.docs.id)
|
||||
|
||||
def aggregated[T](task: SettingKey[Task[T]])(projectRef: ProjectRef, structure: Load.BuildStructure, exclude: Seq[String]): Task[Seq[T]] = {
|
||||
val projects = aggregatedProjects(projectRef, structure, exclude)
|
||||
projects flatMap { task in LocalProject(_) get structure.data } join
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue