I am pretty new to Gradle, I followed some tutorials and read around wikis and guides but I still have some questions I couldn't clearly find an answer for.
What I'd like to have are some clarifications about Gradle and general github project dependencies.
Reading this question, he mentions the following example:
dependencies {
mavenCentral()
compile 'com.github.chrisbanes.actionbarpulltorefresh:extra-abc:+'
}
I get com.github.chrisbanes.actionbarpulltorefresh
, it is basically com.github.username.repository
, but what do exactly represent extra-abc
and the +
?
On the gradle irc they said the first one is the artifact and they gave me this, where it says: Dependency configurations are also used to publish files
.. but I still don't get.. which files and for which purpouse you want to do that? I guess artifacts should refer to jars, but why giving it a name (extra-abc
)?
+
takes the place where the version usually is, so I assume it should indicate the latest version, shouldn't it?
Moreover, is the example I pasted valid for both gradle and plain (netbeans) projects hosted on github or do we have to differentiate?
I am using Netbeans 8.02 with the gradle plugin.
Sorry for the dumb questions, but I really want to clear my doubts.