module内包含第三方aar包,完整打包上传maven的方法

时间:2025-01-26 07:38:38
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0." xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId></groupId> <artifactId>ArcMap</artifactId> <version>1.1.6</version> <packaging>aar</packaging> <description>更新SDK 支持不同地图控件</description> <dependencies> <dependency> <groupId></groupId> <artifactId>godmap</artifactId> <version>9.3.1</version> <type>aar</type> <scope>compile</scope> <exclusions> <exclusion> <artifactId>*</artifactId> <groupId>*</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId></groupId> <artifactId>appcompat</artifactId> <version>1.3.0</version> <scope>compile</scope> </dependency> <dependency> <groupId></groupId> <artifactId>recyclerview</artifactId> <version>1.2.1</version> <scope>compile</scope> </dependency> </dependencies> </project>