Skip to content

Commit

Permalink
further gradle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sloox committed Jun 17, 2021
1 parent 2909545 commit 612660d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import org.jmailen.gradle.kotlinter.tasks.LintTask
import java.nio.file.Paths

Expand Down Expand Up @@ -82,7 +83,7 @@ val resolveArtifacts by tasks.registering {
dependsOn(":flank-scripts:prepareJar")
group = "verification"
doLast {
val flankScriptsRunnerName = if (org.gradle.nativeplatform.platform.internal.DefaultNativePlatform.getCurrentOperatingSystem().isWindows)
val flankScriptsRunnerName = if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows)
"flankScripts.bat" else "flankScripts"
val flankScriptsPath = Paths.get("flank-scripts", "bash", flankScriptsRunnerName).toString()
val rootFlankScriptsPath = rootDir.resolve(flankScriptsPath).absolutePath
Expand Down

0 comments on commit 612660d

Please sign in to comment.