From 391d9dc73477b2e2f5750a06e24a6ee88d88e729 Mon Sep 17 00:00:00 2001 From: David Sanchez Date: Tue, 7 Aug 2018 13:25:39 +0200 Subject: [PATCH 1/2] document mandatory compiler plugin I belive this should be documented, same as in https://github.com/frees-io/freestyle/blob/master/README.md#freestyle-artifacts --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5ed772a6..787cde032 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,12 @@ It's divided into multiple and different artifacts, grouped by scope: * `Yes*`: on the client-side, you must choose either `Netty` or `OkHttp` as the transport layer. * `Provided*`: you don't need to add it to your build, it'll be transitively provided when using other dependencies. +To use the project, add the following to your build.sbt: + +```scala +addCompilerPlugin("org.scalameta" % "paradise" % "3.0.0-M11" cross CrossVersion.full) +``` + You can install any of these dependencies in your build as follows: [comment]: # (Start Replace) @@ -102,4 +108,4 @@ Freestyle is designed and developed by 47 Degrees Copyright (C) 2017-2018 47 Degrees. -[comment]: # (End Copyright) \ No newline at end of file +[comment]: # (End Copyright) From b68f5341ad3655b25c8ed9d99a0b300c30327df6 Mon Sep 17 00:00:00 2001 From: David Sanchez Date: Tue, 7 Aug 2018 14:35:10 +0200 Subject: [PATCH 2/2] scalamacros instead of scalameta --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 787cde032..fd10b6e8d 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ It's divided into multiple and different artifacts, grouped by scope: To use the project, add the following to your build.sbt: ```scala -addCompilerPlugin("org.scalameta" % "paradise" % "3.0.0-M11" cross CrossVersion.full) +addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.patch) ``` You can install any of these dependencies in your build as follows: