New to gradle, and I'm trying to replace maven as a build tool. I added Jsoup as a dependency in gradle and tried to load it, but did not load it into the project.
Here is my build.gradle:
apply plugin: 'java'
repositories {
//jcenter()
mavenCentral()
}
dependencies {
compile ('org.jsoup:jsoup:1.7.2')
compile 'org.slf4j:slf4j-api:1.7.12'
testCompile 'junit:junit:4.12'
}
and the output that I get when starting gradle clean build

Jsoup does not load, does not appear in the output file, and I cannot use it. However, it will be loaded into maven without any problems.
Did I miss something?
source
share