Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for offline and local builds #237

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -138,7 +138,10 @@ def getCPU() {
if (cpu.startsWith('arm')) {
return 'arm'
}
edvbld marked this conversation as resolved.
Show resolved Hide resolved
throw new GradleException("Unexpected operating system: " + cpu)
if (cpu.startsWith('aarch64')) {
return 'aarch64';
}
throw new GradleException("Unexpected CPU: " + cpu)
}

task local(type: Copy) {
@@ -68,6 +68,9 @@ private static String getCPU() {
if (p.startsWith("arm")) {
return "arm";
}
edvbld marked this conversation as resolved.
Show resolved Hide resolved
if (p.startsWith("aarch64")) {
return "aarch64";
}

throw new RuntimeException("Unknown CPU: " + System.getProperty("os.arch"));
}