Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .jvmopts
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
-Xmx16G
-Xss4M
-Xms2G
-Xss4M
-XX:+UseG1GC
-XX:MaxGCPauseMillis=200
-XX:+ParallelRefProcEnabled
-XX:ReservedCodeCacheSize=512m
-XX:MaxMetaspaceSize=2G
-XX:CICompilerCount=2
8 changes: 5 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//

import Dependencies._
import Settings._
import sbtcrossproject.CrossProject
Expand All @@ -11,7 +9,11 @@ import scala.sys.process._

ThisBuild / watchBeforeCommand := Watch.clearScreen
ThisBuild / resolvers ++= Seq(Resolver.sonatypeCentralSnapshots, Resolver.mavenLocal)
ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)

Global / concurrentRestrictions := Seq(
Tags.limitAll(math.max(1, java.lang.Runtime.getRuntime.availableProcessors() - 1)),
)
ThisBuild / turbo := true

enablePlugins(GitVersioning)
git.gitTagToVersionNumber := { tag =>
Expand Down
2 changes: 1 addition & 1 deletion project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object Settings {
scalacOptions ++= Seq("-source:future", "-Ycheck-all-patmat", "-Wunused:all", "-Werror", "-language:implicitConversions", "-deprecation", "-feature", "-Yretain-trees"),
name := { throw new RuntimeException("You must define a project name!!!") },
javacOptions ++= Seq("-source", "17", "-target", "17"),
usePipelining := false,
usePipelining := true,

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ive had a lot of issues with pipelining in the past, I think its relating to macros

description := { throw new RuntimeException("You must define a project description!!!") },
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")),
)
Expand Down