File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 11group ' io.abner.fastdev.android'
2- version ' 0.3.1 '
2+ version ' 0.3.2 '
33
44buildscript {
55 repositories {
Original file line number Diff line number Diff line change @@ -18,6 +18,21 @@ buildscript {
1818apply plugin : ' de.undercouch.download'
1919apply plugin : ' java'
2020
21+ ask downloadOldJsc(type : Download ) {
22+
23+ src ' https://registry.npmjs.org/jsc-android/-/jsc-android-245459.0.0.tgz'
24+ dest new File (" ${ projectDir} /jsc-download-package" )
25+ connectTimeout 25000
26+ onlyIfNewer true
27+ doLast {
28+
29+ copy {
30+ from tarTree(resources. gzip(new File (" ${ projectDir} /jsc-download-package/jsc-android-245459.0.0.tgz" )))
31+ into " ${ getProjectDir()} /libs/245459.0.0"
32+ }
33+ }
34+ }
35+
2136task downloadJsc (type : Download ) {
2237
2338 src ' https://registry.npmjs.org/jsc-android/-/jsc-android-250231.0.0.tgz'
@@ -52,6 +67,7 @@ task downloadJscIntl(type: Download) {
5267
5368build. dependsOn downloadJsc
5469
70+ downloadJsc. dependsOn downloadOldJsc
5571downloadJsc. dependsOn downloadJscIntl
5672
5773
Original file line number Diff line number Diff line change @@ -46,5 +46,5 @@ android {
4646
4747dependencies {
4848 embed " org.webkit:android-jsc:r250231"
49- embed " org.webkit:android-jsc-cppruntime:r250231 "
49+ embed " org.webkit:android-jsc-cppruntime:r245459 "
5050}
You can’t perform that action at this time.
0 commit comments