File tree Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
1
group ' io.abner.fastdev.android'
2
- version ' 0.1.8 '
2
+ version ' 0.2.0 '
3
3
4
4
buildscript {
5
5
repositories {
Original file line number Diff line number Diff line change @@ -49,10 +49,28 @@ task downloadJscNewest(type: Download) {
49
49
}
50
50
}
51
51
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
+
52
68
build. dependsOn downloadJsc
53
69
54
70
downloadJsc. dependsOn downloadJscNewest
55
71
72
+ downloadJsc. dependsOn downloadJscNewestIntl
73
+
56
74
57
75
task replaceAndroidJsc (type : Copy ) {
58
76
from file(' ${project.rootDir}/jsc/build.gradle' )
Original file line number Diff line number Diff line change @@ -16,24 +16,15 @@ buildscript {
16
16
repositories {
17
17
google()
18
18
jcenter()
19
- maven {
20
- // Local Maven repo containing AARs with JSC library built for Android
21
- url " $projectDir /../download-jsc/libs/245459.0.0/package/dist"
22
- }
23
19
maven {
24
20
// Local Maven repo containing AARs with JSC library built for Android
25
- url " $projectDir /../download-jsc/libs/250230.2.1 /package/dist"
21
+ url " $projectDir /../download-jsc/libs/294992.0.0 /package/dist"
26
22
}
27
23
}
28
24
29
25
apply plugin : ' com.kezong.fat-aar'
30
26
31
27
android {
32
-
33
- // packagingOptions {
34
- // pickFirst '**/libjsc.so'
35
- // pickFirst '**/libc++_shared.so'
36
- // }
37
28
defaultConfig {
38
29
externalNativeBuild {
39
30
cmake {
@@ -47,6 +38,5 @@ android {
47
38
}
48
39
49
40
dependencies {
50
- embed " org.webkit:android-jsc-intl:r250230"
51
- embed " org.webkit:android-jsc-cppruntime:r245459"
41
+ embed " org.webkit:android-jsc-intl:r294992"
52
42
}
You can’t perform that action at this time.
0 commit comments