How can I indicate which versions of Android build tools in Maven

Android Maven plugin seems to use the latest build tools by default. Is there a way to specify a specific version?

This link seems to point to this, but I cannot figure out how to specify the value in my POM file.

https://github.com/simpligility/android-maven-plugin/commit/a52d218964b0fa75db751954b15e316f5b0d3aa4

+5
source share
1 answer

Starting with version 4.3.0 , you can specify the version of the build tool in the configuration section of the android plugin. For instance:

<plugin> <groupId>com.simpligility.maven.plugins</groupId> <artifactId>android-maven-plugin</artifactId> <version>4.4.3</version> <extensions>true</extensions> <configuration> <sdk> <platform>25</platform> <buildTools>25.0.2</buildTools> </sdk> </configuration> </plugin> 
+8
source

All Articles