mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02: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:
parent
7f889d7812
commit
7c1285d48d
1 changed files with 3 additions and 1 deletions
|
@ -83,11 +83,12 @@ task zipSource (type: Zip) {
|
||||||
it.archiveBaseName = project.name + "-src"
|
it.archiveBaseName = project.name + "-src"
|
||||||
it.archiveExtension = 'zip'
|
it.archiveExtension = 'zip'
|
||||||
it.destinationDirectory = file(project.projectDir.path + "/build/tmp/src")
|
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.
|
// 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.
|
// This is the only way to preserve the directory structure.
|
||||||
it.from project.projectDir
|
it.from project.projectDir
|
||||||
it.include 'src/**/*'
|
it.include 'src/main/java/'
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildExtension (type: Zip) {
|
task buildExtension (type: Zip) {
|
||||||
|
@ -125,6 +126,7 @@ task buildExtension (type: Zip) {
|
||||||
exclude 'bin/**'
|
exclude 'bin/**'
|
||||||
exclude 'src/**'
|
exclude 'src/**'
|
||||||
exclude '.gradle/**'
|
exclude '.gradle/**'
|
||||||
|
exclude '.vscode/**'
|
||||||
exclude '.classpath'
|
exclude '.classpath'
|
||||||
exclude '.project'
|
exclude '.project'
|
||||||
exclude '.pydevproject'
|
exclude '.pydevproject'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue