Skip to content

Commit

Permalink
trying to get github to build
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf committed Sep 26, 2023
1 parent 19f9865 commit 6528ff7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ plugins {

def jarVersion = "2.17.0"

def isDevLocal = System.getenv("DEV_LOCAL") == "yes"
def isRelease = System.getenv("BUILD_EVENT") == "release"
def bs = System.getenv("BRANCH_SNAPSHOT")
def snap = bs == null || bs.equals("") ? "-SNAPSHOT" : "." + bs + "-SNAPSHOT"
Expand Down Expand Up @@ -84,7 +85,7 @@ test {
maxFailures = 5
maxRetries = 5
}
maxParallelForks = Runtime.runtime.availableProcessors()
maxParallelForks = isDevLocal ? Runtime.runtime.availableProcessors() : 1
}

javadoc {
Expand Down

0 comments on commit 6528ff7

Please sign in to comment.