We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267f9f5 commit 53229e6Copy full SHA for 53229e6
app/build.gradle
@@ -6,6 +6,8 @@ apply plugin: 'com.google.firebase.crashlytics'
6
7
apply from: 'version.gradle'
8
9
+import org.gradle.internal.os.OperatingSystem
10
+
11
buildscript {
12
repositories {
13
mavenCentral()
@@ -132,7 +134,10 @@ android.applicationVariants.configureEach { variant ->
132
134
def output = new ByteArrayOutputStream()
133
135
136
exec {
- commandLine("unzip", "-t", pathToApk)
137
+ if (OperatingSystem.current() == OperatingSystem.WINDOWS)
138
+ commandLine("tar", "-tf", pathToApk)
139
+ else
140
+ commandLine("unzip", "-t", pathToApk)
141
standardOutput output
142
}
143
0 commit comments