|
38 | 38 | still use Moditect to get JDK9+ module info support; need newer bundle plugin as well |
39 | 39 | (can just defaults from `jackson-parent`) |
40 | 40 | --> |
| 41 | + |
| 42 | + <!-- 16-Nov-2022, tatu: [core#838] Verify Android SDK compatibility. |
| 43 | + Baseline compatibility: |
| 44 | + * Jackson 2.13 compatible with Android SDK 19 and up |
| 45 | + * Jackson 2.14 compatible with Android SDK 19 and up |
| 46 | + --> |
| 47 | + <version.android.sdk>19</version.android.sdk> |
| 48 | + <version.android.sdk.signature>0.5.0</version.android.sdk.signature> |
| 49 | + |
41 | 50 | <osgi.export>com.fasterxml.jackson.core;version=${project.version}, |
42 | 51 | com.fasterxml.jackson.core.*;version=${project.version} |
43 | 52 | </osgi.export> |
@@ -140,6 +149,24 @@ com.fasterxml.jackson.core.*;version=${project.version} |
140 | 149 | <groupId>de.jjohannes</groupId> |
141 | 150 | <artifactId>gradle-module-metadata-maven-plugin</artifactId> |
142 | 151 | </plugin> |
| 152 | + |
| 153 | + <!-- 16-Nov-2022, tatu: [core#838] add verification of compatibility |
| 154 | + wrt Android SDK versions using AnimalSniffer with "gummy bears" signatures. |
| 155 | + To be run from CI, but manually with: |
| 156 | + mvn clean package animal-sniffer:check |
| 157 | + --> |
| 158 | + <plugin> |
| 159 | + <groupId>org.codehaus.mojo</groupId> |
| 160 | + <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 161 | + <version>1.22</version> |
| 162 | + <configuration> |
| 163 | + <signature> |
| 164 | + <groupId>com.toasttab.android</groupId> |
| 165 | + <artifactId>gummy-bears-api-${version.android.sdk}</artifactId> |
| 166 | + <version>${version.android.sdk.signature}</version> |
| 167 | + </signature> |
| 168 | + </configuration> |
| 169 | + </plugin> |
143 | 170 | </plugins> |
144 | 171 | </build> |
145 | 172 |
|
|
0 commit comments