On 8 August 2014 at 5:14:23 am, Xavier Ducrohet (x...@google.com) wrote:
I'm getting some user reports that Maven requires dependencies to include a type if the type is not jar. For example, the POM should look like this: <dependencies> <dependency> <groupId>com.android.support</groupId> <artifactId>appcompat-v7</artifactId> <version>19.0.0</version> <scope>compile</scope> <type>aar</type> </dependency> </dependencies> However, when Gradle generates the POM, it omits the <type> node. I'm not sure what the right behavior is since the POM of the dependency itself declares the type as aar in the first place anyway. Does anyone know what the right behavior should be and whether Gradle is not doing the right thing? It seems logical that this would be required, but I don’t have anything authoritative on it. @Adam: wdyt?