Skip to content

Instantly share code, notes, and snippets.

@brendonanderson
Created April 17, 2015 15:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendonanderson/2ae3c632859290aadf6a to your computer and use it in GitHub Desktop.
Save brendonanderson/2ae3c632859290aadf6a to your computer and use it in GitHub Desktop.
Ratpack Blog - Springloaded gradle.build file
repositories {
jcenter()
maven { url "http://repo.spring.io/libs-release" }
}
dependencies {
...
springloaded "org.springframework:springloaded:1.2.3.RELEASE"
...
}
@javazquez
Copy link

does this still work with gradle 2.7?
I am getting
Could not find method springloaded() for arguments [org.springframework:springloaded:1.2.3.RELEASE] on root project

@simulated-tea
Copy link

simulated-tea commented Apr 4, 2017

While this is quite an old question:
I had a similar problem here and got it to work (according to first naive tests) using the syntax

buildscript {
  …
  dependencies {
    …
    classpath "org.springframework:springloaded:1.2.6.RELEASE"
  }
}

(although I have to admit, that I switched to gradle 3.4 in the process.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment