react-native-gesture-handler 2.17.0 → 2.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -289,26 +289,24 @@ if (isGHExampleApp() && isNewArchitectureEnabled() && !project.hasProperty('skip
289
289
  tasks.generateCodegenArtifactsFromSchema.finalizedBy('copyCodegenArtifacts')
290
290
  }
291
291
 
292
- tasks.register('checkIntegrityBetweenArchitectures') {
293
- group 'Verification tasks'
294
- description 'Task to check integrity between fabric and paper architecture in terms of codegen generated interfaces/delegates'
295
-
296
- if (isGHExampleApp()) {
297
- return
298
- }
292
+ if (project == rootProject) {
293
+ tasks.register('checkIntegrityBetweenArchitectures') {
294
+ group 'Verification tasks'
295
+ description 'Task to check integrity between fabric and paper architecture in terms of codegen generated interfaces/delegates'
299
296
 
300
- def absoluteCodegenArtifactsPaperDestination = "../${project.property('codegenArtifactsPaperDestination')}"
301
- def absoluteCodegenArtifactsSource = "../${project.property('codegenArtifactsSource')}"
297
+ def absoluteCodegenArtifactsPaperDestination = "../${project.property('codegenArtifactsPaperDestination')}"
298
+ def absoluteCodegenArtifactsSource = "../${project.property('codegenArtifactsSource')}"
302
299
 
303
- def existingFiles = fileTree(absoluteCodegenArtifactsPaperDestination).matching {
304
- include '**/*.java'
305
- }
300
+ def existingFiles = fileTree(absoluteCodegenArtifactsPaperDestination).matching {
301
+ include '**/*.java'
302
+ }
306
303
 
307
- existingFiles.forEach { existingFile ->
308
- def generatedFile = new File("${absoluteCodegenArtifactsSource}/${existingFile.name}")
304
+ existingFiles.forEach { existingFile ->
305
+ def generatedFile = new File("${absoluteCodegenArtifactsSource}/${existingFile.name}")
309
306
 
310
- if (existingFile.text != generatedFile.text) {
311
- throw new RuntimeException("[react-native-gesture-handler] The source of ${existingFile.name} does not match with the one generated by codegen. Please check if you commited changes produced by copyCodegenArtifacts task.")
307
+ if (existingFile.text != generatedFile.text) {
308
+ throw new RuntimeException("[react-native-gesture-handler] The source of ${existingFile.name} does not match with the one generated by codegen. Please check if you commited changes produced by copyCodegenArtifacts task.")
309
+ }
312
310
  }
313
311
  }
314
312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gesture-handler",
3
- "version": "2.17.0",
3
+ "version": "2.17.1",
4
4
  "description": "Experimental implementation of a new declarative API for gesture handling in react-native",
5
5
  "scripts": {
6
6
  "prepare": "bob build && husky install",