Skip to content

Commit

Permalink
Add Jitpack step to remove react-native-aztec-old-submodule folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun committed Feb 13, 2020
1 parent c972d0d commit 28782d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions react-native-gutenberg-bridge/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ if (isJitPack) {
def assetsFolder = 'src/main/assets'
def aarFolder = 'src/main/assets'

task removeReactNativeAztecOldSubmodule(type: Delete) {
delete '../../react-native-aztec-old-submodule'
}

task buildJSBundle(type: YarnTask) {
args = ['bundle:android']
}
Expand Down Expand Up @@ -210,5 +214,6 @@ if (isJitPack) {
backupHermesReleaseAAR.dependsOn(copyJSBundle)
copyJSBundle.dependsOn(buildJSBundle)
buildJSBundle.dependsOn(yarn_install, ensureAssetsDirectory)
ensureAssetsDirectory.dependsOn(removeReactNativeAztecOldSubmodule)
}
}

0 comments on commit 28782d3

Please sign in to comment.