Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfrouin committed Oct 26, 2023
1 parent 506afbf commit e27b7fe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React Native WebView
# React Native Gigya WebView

Forked from [react-native-webview/react-native-webview](https://github.com/react-native-webview/react-native-webview)

Expand Down
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,16 @@ repositories {
}

dependencies {
api project(':gigya-sdk')
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion')}"
implementation "androidx.webkit:webkit:${safeExtGet('webkitVersion')}"
implementation files('libs/gigya-android-sdk-core-v7.0.5.aar')
}

configurations.maybeCreate("default")
artifacts.add("default", file('[nameOfTheAar].aar'))

if (isNewArchitectureEnabled()) {
react {
jsRootDir = file("../src/")
Expand Down
2 changes: 2 additions & 0 deletions android/gigya-sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('gigya-android-sdk-core-v7.0.5.aar'))
1 change: 1 addition & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':gigya-sdk'

0 comments on commit e27b7fe

Please sign in to comment.