[build] Update to 2022 native utils and gradle 7 (#3588)

This commit is contained in:
Thad House
2021-09-19 17:59:14 -07:00
committed by GitHub
parent 50198ffcf1
commit 179fde3a7b
34 changed files with 262 additions and 262 deletions

View File

@@ -5,6 +5,10 @@ ext {
apply from: "${rootDir}/shared/jni/setupBuild.gradle"
Action<List<String>> symbolFilter = { symbols ->
symbols.removeIf({ !it.startsWith('NT_') })
} as Action<List<String>>;
nativeUtils.exportsConfigs {
ntcore {
x86ExcludeSymbols = [
@@ -35,11 +39,7 @@ nativeUtils.exportsConfigs {
]
}
ntcoreJNI {
x86SymbolFilter = { symbols ->
symbols.removeIf({ !it.startsWith('NT_') })
}
x64SymbolFilter = { symbols ->
symbols.removeIf({ !it.startsWith('NT_') })
}
x86SymbolFilter = symbolFilter
x64SymbolFilter = symbolFilter
}
}