-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to split wasm support in a separate lib
- Loading branch information
1 parent
3376055
commit 2f7a3dc
Showing
41 changed files
with
2,745 additions
and
433 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.bsp/ | ||
target/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import Dependencies.munit | ||
|
||
ThisBuild / scalaVersion := "2.12.16" | ||
ThisBuild / version := "1.0.0-SNAPSHOT" | ||
ThisBuild / organization := "io.otoroshi.common" | ||
ThisBuild / organizationName := "wasm" | ||
|
||
lazy val playJsonVersion = "2.9.3" | ||
lazy val playWsVersion = "2.8.19" | ||
lazy val akkaVersion = "2.6.20" | ||
lazy val akkaHttpVersion = "10.2.10" | ||
lazy val metricsVersion = "4.2.12" | ||
lazy val excludesJackson = Seq( | ||
ExclusionRule(organization = "com.fasterxml.jackson.core"), | ||
ExclusionRule(organization = "com.fasterxml.jackson.datatype"), | ||
ExclusionRule(organization = "com.fasterxml.jackson.dataformat") | ||
) | ||
|
||
scalacOptions ++= Seq( | ||
"-feature", | ||
"-language:higherKinds", | ||
"-language:implicitConversions", | ||
"-language:existentials", | ||
"-language:postfixOps" | ||
) | ||
|
||
lazy val root = (project in file(".")) | ||
.settings( | ||
name := "common-wasm", | ||
libraryDependencies ++= Seq( | ||
munit % Test, | ||
"com.typesafe.play" %% "play-ws" % playWsVersion, | ||
"com.typesafe.play" %% "play-json" % playJsonVersion, | ||
"com.typesafe.akka" %% "akka-stream" % akkaVersion, | ||
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion, | ||
"com.typesafe.play" %% "play-json-joda" % playJsonVersion, | ||
"com.github.blemale" %% "scaffeine" % "4.0.2", | ||
"com.jayway.jsonpath" % "json-path" % "2.7.0", | ||
"commons-lang" % "commons-lang" % "2.6", | ||
"commons-codec" % "commons-codec" % "1.16.0", | ||
"net.java.dev.jna" % "jna" % "5.13.0", | ||
"com.google.code.gson" % "gson" % "2.10", | ||
"io.dropwizard.metrics" % "metrics-json" % metricsVersion excludeAll (excludesJackson: _*), // Apache 2.0 | ||
) | ||
) |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
lazy val munit = "org.scalameta" %% "munit" % "0.7.29" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.7.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/darwin-* | ||
/linux-* | ||
/native |
Oops, something went wrong.