summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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