react-native/local-cli/link/android/patches/makeBuildPatch.js

7 lines
155 B
JavaScript

module.exports = function makeBuildPatch(name) {
return {
pattern: /[^ \t]dependencies {\n/,
patch: ` compile project(':${name}')\n`,
};
};