Skip to content

Instantly share code, notes, and snippets.

@DamianReeves
Created January 19, 2019 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DamianReeves/7f80063d04e9a7a26fc2e6c0ce57672b to your computer and use it in GitHub Desktop.
Save DamianReeves/7f80063d04e9a7a26fc2e6c0ce57672b to your computer and use it in GitHub Desktop.
Declaring Custom Scala Compiler Plugin configuration
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