fix #10
This commit is contained in:
parent
4dae1df889
commit
92ae4e512b
|
|
@ -52,7 +52,7 @@ public class BuildAndSignApkTask implements Runnable {
|
||||||
keyStoreAssetPath = "assets/keystore";
|
keyStoreAssetPath = "assets/keystore";
|
||||||
}
|
}
|
||||||
|
|
||||||
try (InputStream inputStream = getClass().getResourceAsStream(keyStoreAssetPath);
|
try (InputStream inputStream = getClass().getClassLoader().getResourceAsStream(keyStoreAssetPath);
|
||||||
FileOutputStream out = new FileOutputStream(keyStoreFilePath)) {
|
FileOutputStream out = new FileOutputStream(keyStoreFilePath)) {
|
||||||
IOUtils.copy(inputStream, out);
|
IOUtils.copy(inputStream, out);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue