Could not resolve all dependencies, depends on 'default'

I use Gradle 2.4. What I try to do is to learn Gradle and apply it to non-java/non-C projects. I have this small build.gradle file:

project.version = "74384"
group = "org.martin"
ext {
  cwd = System.getProperty("user.dir")
  ciRepo = cwd+"/ciRepo"
}
configurations {
  compile
}
repositories {
  maven {
    name = "Local file system"
    url ciRepo
  }
}
dependencies {
  compile group:group, name:rootProject.name, version: project.version, ext:"tgz", classifier:"txt"
}

When I run: gradle --daemon dependencies, I get an error:

Execution failed for task ':dependencies'.
> Could not resolve all dependencies for configuration ':compile'.
   > Module version org.martin:proj:74384, configuration 'compile' declares a dependency on configuration 'default' which is not declared in the module descriptor for org.martin:proj:74384

I do not understand what “which is not declared in the module descriptor” means.

Q1: Is the compile in the configurations the same as the compile in the dependencies?
Q2: What is the “module descriptor”?
Q3: Can someone help me see what’s wrong?

Thank you.

Q1: Is the compile in the configurations the same as the compile in the dependencies?
Yes, the dependencyHandler allows to add dependencies to any configuration from the configurationHandler

Q2: What is the “module descriptor”?
The module descriptor refers to the ivy.xml / pom, which contains, among other things, the transitive dependencies needed by the dependency it is attached to.

Q3: Can someone help me see what’s wrong?
Since you only declare the compile dependency in its short term ‘group:module:version’, Gradle will retrieve the artifacts declared in the default configuration of your “org.martin:proj:74384” dependency. That’s totally fine, I myself do that most of the time.
But your module descriptor file must be incomplete, without any ‘default’ configuration.

How did you upload “org.martin:proj:74384” in your repo?
Can you show us your module descriptor?