On Mon, Apr 20, 2009 at 2:53 PM, Sean Reque <seanre...@gmail.com> wrote:

[...]


>
> I am inlining the buildr buildfile I created for Lift's hello world
> example below.
>

[..]

I recently did the same for Gradle (it does require building Gradle from
source to get the Scala plugin). This is the result:

usePlugin('scala')
usePlugin('war')
usePlugin('jetty')

targetCompatibility = 1.5
version = 1
jettyRun.scanIntervalSeconds=5

dependencies {
    addMavenRepo()
    addMavenStyleRepo('scala-releases', '
http://scala-tools.org/repo-releases/')

    scalaTools 'org.scala-lang:scala-compiler:2.7.3',
    'org.scala-lang:scala-library:2.7.3'

    compile 'org.scala-lang:scala-library:2.7.3',
        'net.liftweb:lift-webkit:1.0',
    'net.liftweb:lift-util:1.0'

    testCompile 'junit:junit:4.4',
        'org.scala-lang:scala-compiler:2.7.3',
        'org.mortbay.jetty:jetty:6.1.6'

    testCompile 'org.mortbay.jetty:jetty-util:6.1.6'

    providedCompile 'javax.servlet:servlet-api:2.5'
}

It works for compiling, test, generating wars and running jetty....

/Jeppe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to