Hi
I generated and downloaded sample Spring boot application from http://start.spring.io/ and it worked fine. However I couldn’t understand which plugin is responsible for pure dependency management.
All I want is to automatically resolve dependency versions. So I tried this build. gradle:
plugins {
id "io.spring.dependency-management" version "1.0.4.RELEASE"
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
However I’ve got exception:
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.springframework.boot:spring-boot-starter-web:.
Required by:
project :
So is it possible to get automatic dependency managemen without Spring Boot plugin?
Thanks