Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Re-define the 'file' module
Browse files Browse the repository at this point in the history
  • Loading branch information
sd-yip committed Feb 25, 2019
1 parent 7259794 commit 9b11933
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions file/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
plugins {
maven
scala
`java-library`
}
val scalaCompilerPlugin: Configuration = configurations.create("scalaCompilerPlugin")

dependencies {
scalaCompilerPlugin("org.scalamacros:paradise_2.12.8:2.1.1")
api("org.scala-lang:scala-library:2.12.8")
api(project(":core", "default"))
}

tasks.withType<ScalaCompile> {
scalaCompileOptions.additionalParameters = listOf(
"-Xplugin:" + scalaCompilerPlugin.asPath,
"-Ypartial-unification",
"-language:higherKinds",
"-language:implicitConversions")
}
3 changes: 1 addition & 2 deletions nio/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ val scalaCompilerPlugin: Configuration = configurations.create("scalaCompilerPlu
dependencies {
scalaCompilerPlugin("org.scalamacros:paradise_2.12.8:2.1.1")
api("org.scala-lang:scala-library:2.12.8")

api(project(":core", "default"))
api(project(":file", "default"))

testImplementation("junit:junit:4.12")
testImplementation("org.scalatest:scalatest_2.12:3.0.5")
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include(
"core",
"file",
"nio")

0 comments on commit 9b11933

Please sign in to comment.