mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Fix buildType issue introduced in rebase (#23444)
Summary: While rebasing https://github.com/facebook/react-native/pull/18892, I missed that buildTypeName no longer existed. [ANDROID] [Fixed] - Fix issue in react.gradle Pull Request resolved: https://github.com/facebook/react-native/pull/23444 Differential Revision: D14078281 Pulled By: hramos fbshipit-source-id: c2b3a1dccb890392f47ed93a3e1ac6e62e50999a
This commit is contained in:
committed by
Facebook Github Bot
parent
1cb34cb761
commit
7c9805ce16
@@ -78,8 +78,8 @@ afterEvaluate {
|
||||
|
||||
enabled config."bundleIn${targetName}" != null
|
||||
? config."bundleIn${targetName}"
|
||||
: config."bundleIn${buildTypeName.capitalize()}" != null
|
||||
? config."bundleIn${buildTypeName.capitalize()}"
|
||||
: config."bundleIn${variant.buildType.name.capitalize()}" != null
|
||||
? config."bundleIn${variant.buildType.name.capitalize()}"
|
||||
: targetName.toLowerCase().contains("release")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user