Adam Murdoch <adam@...> writes:
> ...
> Yes it does. Do you have some particular examples of the JARs
> it is duplicating?
sure, here's my build.gradle:
apply from: '../android.gradle'
sourceSets {
main {
java {
srcDir 'src'
}
}
}
dependencies {
compile fileTree(dir: 'libs', includes: ['*.jar'])
compile('com.github.droidfu:droid-fu:1.0-SNAPSHOT') {
transitive: false
}
compile('oauth.signpost:signpost-core:1.2.1.2') {
transitive: false
}
compile('oauth.signpost:signpost-commonshttp4:1.2.1.2') {
transitive: false
}
}
there must be something wrong with that. For instance,
transitive: false has no effect; all transitive dependencies
still show up in runtime.files.
On a related note, I have a question about the runtime
type of the objects returned by project.configurations.
As far as I understand, configurations.compile returns
an object of type Configuration, but it seems to be also
iterable (I can call each() on it). What exactly are the
semantics of compile.each or runtime.each?
Thanks
Matthias
PS: android.gradle merely contains a repo definition for
the gradle-android-plugin and an apply statement
for it. the plugin "inherits" from the Java plugin.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email