A native build library with prefab feature, this module contains libass.so and the header files.
App want to use libass in C/C++ can use this module.
- Add MavenCenter to your project
allprojects { repositories { mavenCentral() } } - Enable prefab feature.
android { buildFeatures { prefab true } } - Add dependency
implementation "io.github.peerless2012:ass:x.x.x" - Add prebuild in
CMakeLists.txt# Add these two lines. find_package(lib_ass REQUIRED CONFIG) target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE lib_ass::ass) - Add libass header in your c/c++ code
#include "ass.h"