44 lines
1.4 KiB
Groovy
44 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Features/Base/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/SoftwareModeling/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/Docking/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/Generic/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/Project/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/Utility/lib'
|
|
dirs System.getProperty('GHIDRA_INSTALL_DIR') + '/Ghidra/Framework/Gui/lib'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation name: 'Base', version: ''
|
|
implementation name: 'SoftwareModeling', version: ''
|
|
implementation name: 'Docking', version: ''
|
|
implementation name: 'Generic', version: ''
|
|
implementation name: 'Project', version: ''
|
|
implementation name: 'Utility', version: ''
|
|
implementation name: 'Gui', version: ''
|
|
}
|
|
|
|
compileJava {
|
|
dependsOn configurations.compileClasspath
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'Symbol Rename Logger Plugin',
|
|
'Implementation-Version': '1.0'
|
|
)
|
|
}
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
} |