You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this plugin in my gradle project. I getting the below error. Any help on this much appriciated.
What went wrong:
Execution failed for task ':snyk-check-binary'.
tried to access method org.gradle.nativeplatform.platform.internal.DefaultNativePla
tform.getCurrentOperatingSystem()Lorg/gradle/nativeplatform/platform/internal/DefaultOperatingSystem; from class io.snyk.gradle.plugin.SnykBinaryTask
my common gradle.build file will look something like this
Hello,
I am trying to use this plugin in my gradle project. I getting the below error. Any help on this much appriciated.
Execution failed for task ':snyk-check-binary'.
tried to access method org.gradle.nativeplatform.platform.internal.DefaultNativePla
tform.getCurrentOperatingSystem()Lorg/gradle/nativeplatform/platform/internal/DefaultOperatingSystem; from class io.snyk.gradle.plugin.SnykBinaryTask
my common gradle.build file will look something like this
plugins {
id 'java'
id "io.snyk.gradle.plugin.snykplugin" version "0.4"
}
wrapper {
gradleVersion = '4.4'
distributionUrl = distributionUrl.replace("bin", "all")
}
repositories {
maven{
url
}
}
project.ext {
scalaVersion='2.12.0'
slf4jVersion='1.7.21'
logbackVersion='1.1.7'
sparkVersion='3.0.1'
}
snyk {
api = 'xxxxxxxxxxxxxxxxxxxxxxx'
arguments = '--all-sub-projects'
autoDownload = true
autoUpdate = true
}
The text was updated successfully, but these errors were encountered: