Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ buildExtension.enabled = false
defaultTasks 'createDistribution'

task createDistribution (type: Zip) {
baseName "${project.name}-${project.version}-${getGitHash()}-Ghidra_${ghidra_version}".replace(' ', '_')
extension 'zip'
destinationDir DISTRIBUTION_DIR
archiveBaseName.set("${project.name}-${project.version}-${getGitHash()}-Ghidra_${ghidra_version}".replace(' ', '_'))
destinationDirectory = DISTRIBUTION_DIR
version ''

// Make sure that we don't try to copy the same file with the same path into the
Expand Down Expand Up @@ -111,6 +110,6 @@ task createDistribution (type: Zip) {
}

doLast {
println "\nCreated " + baseName + "." + extension + " in " + destinationDir
println "\nCreated ${archiveFileName.get()} in ${destinationDirectory.get()}"
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists