Skip to content

Instantly share code, notes, and snippets.

@lamvd0101
Created November 2, 2022 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lamvd0101/402a5ee8e680a2661fae17b98adee3ac to your computer and use it in GitHub Desktop.
Save lamvd0101/402a5ee8e680a2661fae17b98adee3ac to your computer and use it in GitHub Desktop.
apply plugin: "com.android.library"
android {
compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
}
}
dependencies {
implementation("com.facebook.react:react-native:+")
implementation(name: "hermes-release", ext: "aar")
}
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project, null, false, "com.company.rnsdk")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment