JniLibsTestedComponentPackaging

Added in 8.4.0-rc02

@Incubating
interface JniLibsTestedComponentPackaging : JniLibsPackaging

Known direct subclasses
JniLibsTestedApkPackaging

Build-time properties for packaging native libraries (.so) inside a tested APK Component.


Build-time properties for packaging native libraries (.so) inside a tested Component.

This is accessed via TestedComponentPackaging.jniLibs

Summary

Public properties

SetProperty<String>

The set of test-only patterns.

Inherited properties

From com.android.build.api.variant.JniLibsPackaging
SetProperty<String>

The set of excluded patterns.

SetProperty<String>

The set of patterns for native libraries that should not be stripped of debug symbols.

SetProperty<String>

The set of patterns for which the first occurrence is packaged in the APK.

Public properties

testOnly

Added in 8.4.0-rc02
val testOnlySetProperty<String>

The set of test-only patterns. Native libraries matching any of these patterns do not get packaged in the main APK or AAR, but they are included in the test APK.

Example: packaging.jniLibs.testOnly.add("**/testOnly.so")