File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ afterEvaluate { project ->
509
509
}. artifacts. each {
510
510
def jar = it. file;
511
511
if (! jars. contains(jar)) {
512
- jars. push (jar)
512
+ jars. add (jar)
513
513
def destDir = md5(jar. path);
514
514
def outputDir = new File (Paths . get(extractedDependenciesDir, destDir). normalize(). toString())
515
515
@@ -543,7 +543,7 @@ afterEvaluate { project ->
543
543
// }
544
544
}
545
545
}
546
- allJars. push ([file : jar, outputDir : outputDir])
546
+ allJars. add ([file : jar, outputDir : outputDir])
547
547
}
548
548
}
549
549
}
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ def getBuildArguments = { ->
28
28
if (isWinOs) {
29
29
arguments + = [" cmd" , " /c" , " gradlew" ]
30
30
} else {
31
- arguments. push (" ./gradlew" )
31
+ arguments. add (" ./gradlew" )
32
32
}
33
- arguments. push (" :app:installDebug" )
33
+ arguments. add (" :app:installDebug" )
34
34
if (onlyX86) {
35
- arguments. push (" -PonlyX86" )
35
+ arguments. add (" -PonlyX86" )
36
36
}
37
37
if (useCCache) {
38
- arguments. push (" -PuseCCache" )
38
+ arguments. add (" -PuseCCache" )
39
39
}
40
40
return arguments
41
41
}
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ android {
54
54
externalNativeBuild {
55
55
cmake {
56
56
if (optimized) {
57
- arguments. push (" -DOPTIMIZED_BUILD=true" )
57
+ arguments. add (" -DOPTIMIZED_BUILD=true" )
58
58
}
59
59
60
60
if (optimizedWithInspector) {
61
- arguments. push (" -DOPTIMIZED_WITH_INSPECTOR_BUILD=true" )
61
+ arguments. add (" -DOPTIMIZED_WITH_INSPECTOR_BUILD=true" )
62
62
}
63
63
64
64
if (useCCache) {
65
- arguments. push (" -DUSE_CCACHE=true" )
65
+ arguments. add (" -DUSE_CCACHE=true" )
66
66
}
67
67
68
68
// https://developer.android.com/ndk/guides/cmake.html
You can’t perform that action at this time.
0 commit comments