aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 699e70dc..ea18a143 100644
--- a/build.gradle
+++ b/build.gradle
@@ -65,7 +65,11 @@ project('hotspot') {
ant.delete(file: new File(file('hotspot'), it[1]))
}
}
- ant.patch(patchfile: "../patches/dcevm-${hotspotTag}.patch", strip: 1)
+ // Use hg import since ant.patchfile requires 'patch' to be installed
+ exec {
+ executable 'hg'
+ args 'import', '--no-commit', "../patches/dcevm-${hotspotTag}.patch"
+ }
}
task compileFastdebug(type: InvokeMake) {