aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorShevek <[email protected]>2014-01-29 00:27:28 -0800
committerShevek <[email protected]>2014-01-29 00:27:28 -0800
commitf2b03d6787e89255d68f5398a8a8e0d544f12405 (patch)
tree5ac3913339715f4f514d02745a5ec8245bdad90c /build.gradle
parentc06119b6d97f700f3843b5b5e5679ff522b47963 (diff)
Use gradle-velocity-task.
Update PreprocessorListener to be an interface. Make Source.getName() public.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle9
1 files changed, 5 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index c99935d..9c377cb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -26,7 +26,7 @@ apply from: file('gradle/license.gradle')
// apply from: file('gradle/release.gradle')
apply plugin: 'application'
-apply plugin: VelocityPlugin
+apply plugin: 'velocity'
dependencies {
compile 'com.google.code.findbugs:jsr305:2.0.2'
@@ -38,9 +38,10 @@ dependencies {
velocity {
def p = project
- context {
- version = p.version
- }
+ Map m = [
+ version: project.version
+ ]
+ context m
}
test {