Created
January 19, 2019 16:00
-
-
Save DamianReeves/7f80063d04e9a7a26fc2e6c0ce57672b to your computer and use it in GitHub Desktop.
Declaring Custom Scala Compiler Plugin configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
scalaCompilerPlugin | |
} | |
dependencies { | |
// Use Scala 2.11 in our library project | |
compile 'org.scala-lang:scala-library:2.12.6' | |
compile 'io.estatico:newtype_2.12:0.4.2' | |
scalaCompilerPlugin 'org.scalamacros:paradise_2.12.6:2.1.1' | |
// Use Scalatest for testing our library | |
testCompile 'junit:junit:4.12' | |
testCompile 'org.scalatest:scalatest_2.12:3.0.5' | |
// Need scala-xml at test runtime | |
testRuntime 'org.scala-lang.modules:scala-xml_2.12:1.1.0' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment