summaryrefslogtreecommitdiff
path: root/build.gradle
blob: cefc2883390f9b6680ae760c0e2d5905c5e2da4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"

}