File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,28 @@ task downloadJscNewest(type: Download) {
4949 }
5050}
5151
52+ task downloadJscNewestIntl (type : Download ) {
53+
54+ src ' https://registry.npmjs.org/jsc-android/-/jsc-android-294992.0.0.tgz'
55+ dest new File (" ${ projectDir} /jsc-download-package" )
56+ connectTimeout 25000
57+ onlyIfNewer true
58+ doLast {
59+
60+ copy {
61+ from tarTree(resources. gzip(new File (" ${ projectDir} /jsc-download-package/jsc-android-294992.0.0.tgz" )))
62+ into " ${ getProjectDir()} /libs/294992.0.0"
63+
64+ }
65+ }
66+ }
67+
5268build. dependsOn downloadJsc
5369
5470downloadJsc. dependsOn downloadJscNewest
5571
72+ downloadJsc. dependsOn downloadJscNewestIntl
73+
5674
5775task replaceAndroidJsc (type : Copy ) {
5876 from file(' ${project.rootDir}/jsc/build.gradle' )
You can’t perform that action at this time.
0 commit comments