Skip to content

Commit d321716

Browse files
committed
Added versioning for 0.1.0 stable
1 parent a9bb0e1 commit d321716

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

ghidra_yara/build.gradle

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
*/
1616
// Builds a Ghidra Extension for a given Ghidra installation.
1717
//
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
1919
// GHIDRA_INSTALL_DIR environment variable or Gradle project property:
2020
//
21-
// > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
21+
// > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
2222
// > gradle
2323
//
2424
// or
@@ -51,7 +51,7 @@ task distributeExtension {
5151
//----------------------END "DO NOT MODIFY" SECTION-------------------------------
5252

5353
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
5555
// dropped into the lib/ directory.
5656
// See https://docs.gradle.org/current/userguide/declaring_repositories.html for more info.
5757
// Ex: mavenCentral()
@@ -63,7 +63,7 @@ repositories {
6363
password = project.findProperty("gpr.token") ?: System.getenv("GITHUB_TOKEN")
6464
}
6565
}
66-
66+
6767
flatDir {
6868
dirs 'libs'
6969
}
@@ -74,5 +74,15 @@ dependencies {
7474
implementation fileTree(dir: 'libs', include: '*.jar')
7575
}
7676

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+
}

0 commit comments

Comments
 (0)