File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
// Builds a Ghidra Extension for a given Ghidra installation.
17
17
//
18
- // An absolute path to the Ghidra installation directory must be supplied either by setting the
18
+ // An absolute path to the Ghidra installation directory must be supplied either by setting the
19
19
// GHIDRA_INSTALL_DIR environment variable or Gradle project property:
20
20
//
21
- // > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
21
+ // > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
22
22
// > gradle
23
23
//
24
24
// or
@@ -51,7 +51,7 @@ task distributeExtension {
51
51
// ----------------------END "DO NOT MODIFY" SECTION-------------------------------
52
52
53
53
repositories {
54
- // Declare dependency repositories here. This is not needed if dependencies are manually
54
+ // Declare dependency repositories here. This is not needed if dependencies are manually
55
55
// dropped into the lib/ directory.
56
56
// See https://docs.gradle.org/current/userguide/declaring_repositories.html for more info.
57
57
// Ex: mavenCentral()
@@ -63,7 +63,7 @@ repositories {
63
63
password = project. findProperty(" gpr.token" ) ?: System . getenv(" GITHUB_TOKEN" )
64
64
}
65
65
}
66
-
66
+
67
67
flatDir {
68
68
dirs ' libs'
69
69
}
@@ -74,5 +74,15 @@ dependencies {
74
74
implementation fileTree(dir : ' libs' , include : ' *.jar' )
75
75
}
76
76
77
- // Exclude additional files from the built extension
78
- // Ex: buildExtension.exclude '.idea/**'
77
+ version = ' 0.1.0'
78
+ ext {
79
+ extname = ' GhidraYara'
80
+ }
81
+
82
+ processResources {
83
+ filesMatching(' extension.properties' ) {
84
+ expand(
85
+ extversion : version,
86
+ extname : ext. extname, )
87
+ }
88
+ }
You can’t perform that action at this time.
0 commit comments