Skip to content

Commit

Permalink
Carry through build.snapshot property on Scala builds
Browse files Browse the repository at this point in the history
This commit also carries through the build.snapshot property when
forking the Scala build. This ensures that we are building snapshots or
not together with the rest of the artifacts.
  • Loading branch information
jasontedor committed Jan 15, 2020
1 parent 8cc42a4 commit 3434647
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class ScalaVariantPlugin implements Plugin<Project> {
properties.put('localRepo', 'true')
}

properties.put('build.snapshot', System.getProperty('build.snapshot', 'true'))

if (OperatingSystem.current().isWindows()) {
crossBuildForVariant.executable('gradlew.bat')
} else {
Expand Down

0 comments on commit 3434647

Please sign in to comment.