We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20d37d commit d16e7c5Copy full SHA for d16e7c5
ghidra_yara/build.gradle
@@ -71,6 +71,17 @@ repositories {
71
72
dependencies {
73
implementation 'com.github.subreption:libyara:4.5.2-SNAPSHOT'
74
+
75
+ def osName = System.getProperty("os.name").toLowerCase()
76
77
+ if (osName.contains("linux")) {
78
+ runtimeOnly 'com.github.subreption:libyara:4.5.2-SNAPSHOT:linux64@jar'
79
+ } else if (osName.contains("mac")) {
80
+ runtimeOnly 'com.github.subreption:libyara:4.5.2-SNAPSHOT:mac@jar'
81
+ } else {
82
+ throw new GradleException("Unsupported OS: " + osName)
83
+ }
84
85
implementation fileTree(dir: 'libs', include: '*.jar')
86
}
87
0 commit comments