Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
= Set Up Example Project and Configure Build


include::ROOT:partial$include.adoc[]

NOTE: The sources for the example described below can be found in the application called
Expand Down Expand Up @@ -56,11 +55,11 @@ include::{cloudflow-examples-version}@docsnippets:ROOT:example$sensor-data-scala
+
The script is a standard Scala sbt build file--with the addition of the Cloudflow plugin for Akka Streams, the Cloudflow application plugin, and also the Scalafmt plugin that we suggest to keep the style consistent in the application (optional).
+
. Create the file `project/cloudflow-plugins.sbt` and add the Cloudflow plugin dependency in it:
. Create the file `project/cloudflow-plugins.sbt` and add the Cloudflow plugin dependency:
+
[source,scala]
[source,scala,subs=attributes+]
----
include::{cloudflow-examples-version}@docsnippets:ROOT:example$sensor-data-scala/project/cloudflow-plugins.sbt[tag=get-started]
addSbtPlugin("com.lightbend.cloudflow" % "sbt-cloudflow" % "{cloudflow-version}")
----

== Local configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ val latestVersion = {
)(identity)
}

//tag::get-started[]

addSbtPlugin("com.lightbend.cloudflow" % "sbt-cloudflow" % latestVersion)
//end::get-started[]