Skip to content

Commit

Permalink
fix(android): fix name clash when building with Gradle 7 (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Nov 22, 2021
1 parent 1140b31 commit eea3be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1.86.0
with:
ruby-version: '3.0'
ruby-version: "3.0"
bundler: Gemfile.lock
bundler-cache: true
- name: Install
Expand Down
4 changes: 2 additions & 2 deletions test-app.gradle
Expand Up @@ -3,7 +3,7 @@ import org.gradle.initialization.DefaultSettings

import java.nio.file.Paths

private static void apply(Settings settings) {
private static void applySettings(Settings settings) {
def projectDir = settings.findNodeModulesPath(settings.rootDir, "react-native-test-app")

if (settings.buildReactNativeFromSource(settings.rootDir)) {
Expand Down Expand Up @@ -43,7 +43,7 @@ ext.applyTestAppSettings = { DefaultSettings defaultSettings ->
apply from: "$scriptDir/android/force-resolve-trove4j.gradle", to: scriptHandler
}

apply(defaultSettings)
applySettings(defaultSettings)
applyNativeModulesSettingsGradle(defaultSettings)
}

Expand Down

0 comments on commit eea3be2

Please sign in to comment.