aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2014-04-24 17:41:29 -0700
committerIvan Dubrov <idubrov@guidewire.com>2014-04-24 17:41:29 -0700
commit0239779c04d0c6ec61ba4fc89db30b19628e0237 (patch)
treea4c757d25b005b783d8ffaaafa5eac0aed2f2132 /build.gradle
parent9e8b4cd584f37abb29c95306cad1409e1400c24d (diff)
downloaddcevm-0239779c04d0c6ec61ba4fc89db30b19628e0237.tar.gz
dcevm-0239779c04d0c6ec61ba4fc89db30b19628e0237.zip
Use hg import for applying patch
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) {