Bluesky app fork with some witchin' additions 馃挮
at main 707 B view raw
1const {withProjectBuildGradle} = require('@expo/config-plugins') 2 3const jitpackRepository = "maven { url 'https://www.jitpack.io' }" 4 5module.exports = function withAndroidNoJitpackPlugin(config) { 6 return withProjectBuildGradle(config, config => { 7 if (!config.modResults.contents.includes(jitpackRepository)) { 8 throw Error( 9 'Expected to find the jitpack string in the config. ' + 10 'You MUST verify whether it was actually removed upstream, ' + 11 'or if the format has changed and this plugin no longer recognizes it.', 12 ) 13 } 14 config.modResults.contents = config.modResults.contents.replaceAll( 15 jitpackRepository, 16 '', 17 ) 18 return config 19 }) 20}