Skip to content

Commit 1b64722

Browse files
authored
Update azure-pipelines.yml for Ghidra 11.1.2 (#26)
Support for Ghidra 11.1.2 and Java 21 Fixes #17
1 parent a2c8f2c commit 1b64722

File tree

6 files changed

+14
-2
lines changed

6 files changed

+14
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ ghidra*.zip
44
build
55
bin
66
.metals/*
7+
lib/scala-*.jar

azure-pipelines.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,21 @@ jobs:
4343
ghidra111:
4444
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1_build/ghidra_11.1_PUBLIC_20240607.zip"
4545
ghidraVersion: "11.1"
46+
ghidra1111:
47+
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1.1_build/ghidra_11.1.1_PUBLIC_20240614.zip"
48+
ghidraVersion: "11.1.1"
49+
ghidra1112:
50+
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1.2_build/ghidra_11.1.2_PUBLIC_20240709.zip"
51+
ghidraVersion: "11.1.2"
4652
latest: true
53+
4754
pool:
4855
vmImage: 'Ubuntu-22.04'
4956
steps:
5057

5158
- script: |
52-
echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_17_X64)"
53-
echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_17_X64)/bin:$(PATH)"
59+
echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_21_X64)"
60+
echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_21_X64)/bin:$(PATH)"
5461
displayName: "Set java version"
5562
- task: Cache@2
5663
condition: and(succeeded(), ne(variables['ghidraUrl'], ''))

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ repositories {
2222
mavenCentral()
2323
}
2424

25+
dependencies {
26+
implementation group: 'org.scala-lang', name: 'scala-compiler', version: '2.12.18'
27+
}
28+
2529
// Need to compile scala and java jointly so Java class can call ScalaHelper
2630
// See https://stackoverflow.com/a/23261076/670527
2731
sourceSets {

lib/scala-compiler-2.12.8.jar

-10 MB
Binary file not shown.

lib/scala-library-2.12.8.jar

-5.03 MB
Binary file not shown.

lib/scala-reflect-2.12.8.jar

-3.48 MB
Binary file not shown.

0 commit comments

Comments
 (0)