mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 05:55:59 +08:00
GP-0: A few buildExtenion.gradle tweaks
* Excluding .vscode/ from the distro * Only including src/main/java in lib/*-src.zip
This commit is contained in:
@@ -83,11 +83,12 @@ task zipSource (type: Zip) {
|
||||
it.archiveBaseName = project.name + "-src"
|
||||
it.archiveExtension = 'zip'
|
||||
it.destinationDirectory = file(project.projectDir.path + "/build/tmp/src")
|
||||
it.includeEmptyDirs = false
|
||||
|
||||
// We MUST copy from a directory, and not just grab a list of source files.
|
||||
// This is the only way to preserve the directory structure.
|
||||
it.from project.projectDir
|
||||
it.include 'src/**/*'
|
||||
it.include 'src/main/java/'
|
||||
}
|
||||
|
||||
task buildExtension (type: Zip) {
|
||||
@@ -125,6 +126,7 @@ task buildExtension (type: Zip) {
|
||||
exclude 'bin/**'
|
||||
exclude 'src/**'
|
||||
exclude '.gradle/**'
|
||||
exclude '.vscode/**'
|
||||
exclude '.classpath'
|
||||
exclude '.project'
|
||||
exclude '.pydevproject'
|
||||
|
||||
Reference in New Issue
Block a user