pakstr 0.25.2 → 0.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,6 +12,7 @@ const dockerNetwork_1 = require("./dockerNetwork");
|
|
|
12
12
|
const CONTAINER_RELEASE_APK_SIGNED = "/workspace/app/build/outputs/apk/release/app-release.apk";
|
|
13
13
|
const CONTAINER_RELEASE_APK_UNSIGNED = "/workspace/app/build/outputs/apk/release/app-release-unsigned.apk";
|
|
14
14
|
const CONTAINER_DEBUG_APK = "/workspace/app/build/outputs/apk/debug/app-debug.apk";
|
|
15
|
+
const GRADLE_CACHE_VOLUME = "pakstr-gradle-cache";
|
|
15
16
|
class DockerGradleRunner {
|
|
16
17
|
image;
|
|
17
18
|
execute;
|
|
@@ -61,6 +62,8 @@ class DockerGradleRunner {
|
|
|
61
62
|
...(0, dockerNetwork_1.dockerNetworkArgs)(),
|
|
62
63
|
"-v",
|
|
63
64
|
`${storage.workspaceVolume}:/workspace`,
|
|
65
|
+
"-v",
|
|
66
|
+
`${GRADLE_CACHE_VOLUME}:/root/.gradle`,
|
|
64
67
|
this.image,
|
|
65
68
|
"./gradlew",
|
|
66
69
|
"assembleDebug",
|
|
@@ -79,6 +82,8 @@ class DockerGradleRunner {
|
|
|
79
82
|
...(0, dockerNetwork_1.dockerNetworkArgs)(),
|
|
80
83
|
"-v",
|
|
81
84
|
`${storage.workspaceVolume}:/workspace`,
|
|
85
|
+
"-v",
|
|
86
|
+
`${GRADLE_CACHE_VOLUME}:/root/.gradle`,
|
|
82
87
|
this.image,
|
|
83
88
|
"./gradlew",
|
|
84
89
|
"assembleRelease",
|