summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGalder Zamarreño <galder@zamarreno.com>2013-10-17 18:47:35 +0200
committerGalder Zamarreño <galder@zamarreno.com>2013-10-17 18:47:35 +0200
commit573081ed123c52ecb8cdd2426e870e8d64bc2cb1 (patch)
tree597f5c5b22382ffd11743cd172479af5454fa3ed /build.gradle
downloadfrege-gradle-plugin-573081ed123c52ecb8cdd2426e870e8d64bc2cb1.tar.gz
frege-gradle-plugin-573081ed123c52ecb8cdd2426e870e8d64bc2cb1.tar.bz2
frege-gradle-plugin-573081ed123c52ecb8cdd2426e870e8d64bc2cb1.zip
Initial commit
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle36
1 files changed, 36 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..cefc288
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,36 @@
+apply plugin: FregePlugin
+apply plugin: "idea"
+apply plugin: "java"
+
+class FregePlugin implements Plugin<Project> {
+ void apply(Project project) {
+ // Add the 'greeting' extension object
+ project.extensions.create("frege", FregePluginExtension)
+ // Add a task that uses the configuration
+ project.task('hello') << {
+
+
+ "java -cp "
+ "frege.compiler.Main"
+
+
+
+ }
+ }
+}
+
+class FregePluginExtension {
+
+}
+
+repositories {
+
+ flatDir name:"frege-lib", dirs:"lib"
+
+}
+
+dependencies {
+
+ compile ":frege:3.21.232-g7b05453"
+
+} \ No newline at end of file