Skip to content

Commit

Permalink
ibid
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Aug 11, 2024
1 parent c304c33 commit 5b0afb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-native-quick-crypto/android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_CXX_STANDARD 20)

# Add Nitrogen specs :)
include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/NitroImage+autolinking.cmake)
include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/QuickCrypto+autolinking.cmake)

# Third party libraries (Prefabs)
find_package(openssl REQUIRED CONFIG)
Expand Down
5 changes: 4 additions & 1 deletion packages/react-native-quick-crypto/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ def resolveBuildType() {
return tskReqStr.contains('Release') ? 'release' : 'debug'
}

apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
apply from: '../nitrogen/generated/android/QuickCrypto+autolinking.gradle'

if (isNewArchitectureEnabled()) {
apply plugin: "com.facebook.react"
}
apply plugin: 'com.android.library'

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
Expand Down

0 comments on commit 5b0afb4

Please sign in to comment.