File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,12 @@ task prepareFolly(dependsOn: dependenciesPath ? [] : [downloadFolly], type: Copy
98
98
task prepareHermes () {
99
99
def hermesPackagePath = findNodeModulePath(projectDir, " hermes-engine" )
100
100
if (! hermesPackagePath) {
101
- throw new GradleScriptException (" Could not find the hermes-engine npm package" )
101
+ throw new GradleScriptException (" Could not find the hermes-engine npm package" , null )
102
102
}
103
103
104
104
def hermesAAR = file(" $hermesPackagePath /android/hermes-debug.aar" )
105
105
if (! hermesAAR. exists()) {
106
- throw new GradleScriptException (" The hermes-engine npm package is missing \" android/hermes-debug.aar\" " )
106
+ throw new GradleScriptException (" The hermes-engine npm package is missing \" android/hermes-debug.aar\" " , null )
107
107
}
108
108
109
109
def soFiles = zipTree(hermesAAR). matching({ it. include " **/*.so" })
@@ -165,12 +165,12 @@ task prepareJSC {
165
165
doLast {
166
166
def jscPackagePath = findNodeModulePath(projectDir, " jsc-android" )
167
167
if (! jscPackagePath) {
168
- throw new GradleScriptException (" Could not find the jsc-android npm package" )
168
+ throw new GradleScriptException (" Could not find the jsc-android npm package" , null )
169
169
}
170
170
171
171
def jscDist = file(" $jscPackagePath /dist" )
172
172
if (! jscDist. exists()) {
173
- throw new GradleScriptException (" The jsc-android npm package is missing its \" dist\" directory" )
173
+ throw new GradleScriptException (" The jsc-android npm package is missing its \" dist\" directory" , null )
174
174
}
175
175
176
176
def jscAAR = fileTree(jscDist). matching({ it. include " **/android-jsc/**/*.aar" }). singleFile
You can’t perform that action at this time.
0 commit comments