Skip to content

Commit

Permalink
update dependencies: gradle-frege-plugin 0.7, fregefx 0.2.0, frege-re…
Browse files Browse the repository at this point in the history
…pl-core 1.4-SNAPSHOT (best build and install locally)
  • Loading branch information
Dierk Koenig committed Feb 28, 2016
1 parent 301e9c5 commit 964cd77
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 23 deletions.
4 changes: 3 additions & 1 deletion Stairs.fr
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module Stairs where

import org.frege.SketchBook (paint)

import fregefx.JavaFxAll (GraphicsContext)
import fregefx.JavaFxUtils (withUI)
import Data.List
Expand Down Expand Up @@ -47,3 +48,4 @@ slow = play $ intersperse (Thread.sleep 100) . take 300 . doodle




56 changes: 34 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
buildscript { // make the frege plugin available in our build
repositories {
mavenLocal() // if you have the plugin installed locally, this is enough
mavenCentral()
maven {
url = "https://oss.sonatype.org/content/groups/public"
}
}
dependencies {
classpath 'org.frege-lang:frege-gradle-plugin:0.4.2-SNAPSHOT', {
exclude module:'frege-native-gen'
exclude module:'frege-repl-core'
}
}
//buildscript { // make the frege plugin available in our build
// repositories {
// mavenLocal() // if you have the plugin installed locally, this is enough
// mavenCentral()
// maven {
// url = "https://oss.sonatype.org/content/groups/public"
// }
// }
// dependencies {
// classpath 'org.frege-lang:frege-gradle-plugin:0.4.2-SNAPSHOT', {
// exclude module:'frege-native-gen'
// exclude module:'frege-repl-core'
// }
// }
//}

//apply plugin: 'frege'

// for fetching the plugin from gradle plugin portal
plugins {
id "org.frege-lang" version "0.7"
}

apply plugin: 'frege'
apply plugin: 'application'

mainClassName = 'org.frege.Application'

//frege {
// mainModule = 'org.frege.Application'
//}



frege {
mainModule = 'org.frege.Application'
}

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand All @@ -30,15 +42,15 @@ ext {

repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url = sonatypeUrl
}
}

dependencies {
frege "org.frege-lang:frege:3.23.288-gaa3af0c"
compile "org.frege-lang:fregefx:0.2.0-SNAPSHOT"
compile "org.frege-lang:frege-repl-core:1.2.1-SNAPSHOT"
//frege "org.frege-lang:frege:3.23.288-gaa3af0c"
compile "org.frege-lang:fregefx:0.2.0"
compile "org.frege-lang:frege-repl-core:1.4-SNAPSHOT"
}

0 comments on commit 964cd77

Please sign in to comment.