diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 40 |
1 files changed, 7 insertions, 33 deletions
diff --git a/build.gradle b/build.gradle index cefc288..011a41f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,36 +1,10 @@ -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" +import org.gradle.frege.FregePlugin +buildscript { + repositories { + flatDir name:"frege-lib", dirs:"buildSrc/lib" + } } -dependencies { - - compile ":frege:3.21.232-g7b05453" - -}
\ No newline at end of file +apply plugin: FregePlugin +apply plugin: "idea"
\ No newline at end of file |