My Java Gradle project is not resolving JARs to the Project and External Dependencies. However, I have checked the Gradle cache location(/Users/Name/.gradle/caches/modules-2/org.jfrog.example.gradle/gradle-example-ci-server/1.0 ) and it is present there. Below is my build.gradle code. Advise what I am missing here.
apply plugin: 'java'
apply plugin: 'eclipse'
targetCompatibility = 10
sourceCompatibility = 10
eclipse {
classpath {
downloadSources = true
}
}
repositories {
mavenLocal()
maven {
credentials {
username = "${gradleUser}"
password = "${gradlePassword}"
}
url "https://leranartifactory.jfrog.io/artifactory/default-maven-local/"
authentication {
basic(BasicAuthentication)
}
}
}
dependencies {
compile(group: 'org.jfrog.example.gradle', name: 'gradle-example-ci-server', version: '1.0')
}
JFrog Repo Screenshot::