Gradle not finding dependencies

Hello. I am completely new to gradle.
I was working on a project using Eclipse and for some reason all my dependencies were moved to the root of my project (at first they were located in a “added dependencies” folder), as you can see in the image below:

In a attempt to fix that, i have clicked on “Enable Gradle dependency Management”. But for my despair the project lost all dependencies and now i cannot make them available again.

So here I stand in quite a pickle…

Here’s my build.gradle. How can i fix this problem?
Thanks!

buildscript {
ext { springBootVersion = ‘1.4.0.RELEASE’ }
repositories { mavenCentral() }
dependencies { classpath(“org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}”) }
}

apply plugin: ‘java’
apply plugin: ‘eclipse’
apply plugin: ‘spring-boot’

jar {
baseName = ‘restaurantpoll’
version = ‘0.0.1-SNAPSHOT’
}
sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories { mavenCentral() }

dependencies {
compile(‘org.springframework.boot:spring-boot-starter-thymeleaf’)
compile(‘org.springframework.boot:spring-boot-starter-web’)
compile(“org.springframework.boot:spring-boot-starter-data-jpa”)
compile(‘org.springframework.boot:spring-boot-starter-security’)
compile(“joda-time:joda-time:2.9.4”)
compile(“org.jadira.usertype:usertype.jodatime:3.0.0.CR1”)
compile(“org.springframework.boot:spring-boot-devtools”)
runtime(“com.h2database:h2”)
testCompile(‘org.springframework.boot:spring-boot-starter-test’)
testCompile(‘org.mockito:mockito-core:1.+’)
}