Skip to content

Commit c9f2a00

Browse files
authored
Merge pull request #193 from prashanthswami/package-riscv64
Use NDK r27 and package riscv64 artifacts
2 parents 1ed459a + b85d3b4 commit c9f2a00

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

gradle/publishing_aar.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ apply plugin: 'maven-publish'
22
apply plugin: 'signing'
33

44
android {
5+
// Explicitly set the NDK release to ensure we use the latest stable, as
6+
// opposed to the default NDK tied to the AGP version.
7+
ndkVersion = '27.0.12077973'
8+
defaultConfig {
9+
ndk {
10+
// Explicitly enable the 'riscv64' ABI with 'abiFilters' as it is
11+
// not part of the default ABI set today.
12+
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'riscv64'
13+
}
14+
}
515
publishing {
616
singleVariant("release") {
717
withSourcesJar()

0 commit comments

Comments
 (0)