aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/integTest/groovy/frege/gradle/tasks/FregeCompileIntegTest.groovy2
-rw-r--r--src/main/groovy/frege/gradle/plugins/FregeBasePlugin.java2
-rw-r--r--src/main/groovy/frege/gradle/tasks/FregeCompile.groovy6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/integTest/groovy/frege/gradle/tasks/FregeCompileIntegTest.groovy b/src/integTest/groovy/frege/gradle/tasks/FregeCompileIntegTest.groovy
index 58e21ba..3845e23 100644
--- a/src/integTest/groovy/frege/gradle/tasks/FregeCompileIntegTest.groovy
+++ b/src/integTest/groovy/frege/gradle/tasks/FregeCompileIntegTest.groovy
@@ -28,7 +28,7 @@ class FregeCompileIntegTest extends AbstractFregeIntegrationSpec {
source("frege-src")
module = "frege-src"
classpath = configurations.frege
- fregePath = configurations.frege
+ fregepath = configurations.frege
}
"""
diff --git a/src/main/groovy/frege/gradle/plugins/FregeBasePlugin.java b/src/main/groovy/frege/gradle/plugins/FregeBasePlugin.java
index 7ced11b..a2ebc25 100644
--- a/src/main/groovy/frege/gradle/plugins/FregeBasePlugin.java
+++ b/src/main/groovy/frege/gradle/plugins/FregeBasePlugin.java
@@ -61,7 +61,7 @@ public class FregeBasePlugin implements Plugin<Project> {
FregeCompile compile = project.getTasks().create(compileTaskName, FregeCompile.class);
compile.setModule(project.file(defaultSourcePath).getAbsolutePath());
javaBasePlugin.configureForSourceSet(sourceSet, compile);
- compile.getConventionMapping().map("classpath", new Callable() {
+ compile.getConventionMapping().map("fregepath", new Callable() {
public Object call() throws Exception {
return sourceSet.getCompileClasspath();
}
diff --git a/src/main/groovy/frege/gradle/tasks/FregeCompile.groovy b/src/main/groovy/frege/gradle/tasks/FregeCompile.groovy
index 8c63df6..290f750 100644
--- a/src/main/groovy/frege/gradle/tasks/FregeCompile.groovy
+++ b/src/main/groovy/frege/gradle/tasks/FregeCompile.groovy
@@ -57,7 +57,7 @@ class FregeCompile extends AbstractCompile {
String module = ""
@Optional @InputFiles
- FileCollection fregePath
+ FileCollection fregepath
@Input
String mainClass = "frege.compiler.Main"
@@ -138,9 +138,9 @@ class FregeCompile extends AbstractCompile {
args << "-v"
- if (fregePath != null && !fregePath.isEmpty()) {
+ if (fregepath != null && !fregepath.isEmpty()) {
args << "-fp"
- args << fregePath.files.collect { f -> f.absolutePath }.join(File.pathSeparator)
+ args << fregepath.files.collect { f -> f.absolutePath }.join(File.pathSeparator)
}
if (sourcePaths != null && !sourcePaths.isEmpty()) {