Skip to content

Commit

Permalink
support 32 bit gradle installations
Browse files Browse the repository at this point in the history
  • Loading branch information
teras committed May 5, 2020
1 parent d33dcc2 commit b87a3b3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Click on the version header to go to the actual commits for each release.
- Table support archetype
- Materials are properly put into place now
- Improve Manager visuals
- Support of Android SDK on Windows 32 machines

### Changed
- Bump iOS SDK version to 13.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,13 @@ public static String canAccessPath(String appName, String location) {
return null;
}

public static boolean is64Bit() {
for (String prop : new String[]{"sun.arch.data.model", "com.ibm.vm.bitmode", "os.arch"})
if (System.getProperty(prop, "").contains("64"))
return true;
return false;
}

public enum Execs {

JAVA("exe"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs = -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

# Use AndroidX
android.useAndroidX = true
android.enableJetifier = true

0 comments on commit b87a3b3

Please sign in to comment.