Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
2
Erster Beitrag:
vor 1 Jahr, 5 Monaten
Letzter Beitrag:
vor 1 Jahr, 5 Monaten
Beteiligte Autoren:
Ruben Sanchez Peña, ICI

[WM21] Gradle

Startbeitrag von ICI am 29.05.2016 19:03

Generating application with this new Gradle is very slow.
I dont read (investigate) for what is this Gradle but now Mobile can be propagated
like 10 times slower (for me).
First You must find from generated error that "Version 2.2 is expected", but on official page
for users Gradle 2.13 is default for download (You need to choose version from list, if you know what version you need).

Antworten:

Hi. You can use Gradle 2.9. The Gradle has a issue comparing the running version and if decimal part begin with 1 (2.10 to 2.13 versions) it give the error about the version.

To optimize the generation and compilation phases you can edit the gradle.properties in .gradle folder in your perfil directory and set the next code:

# Project-wide Gradle settings.

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

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

# The Gradle daemon aims to improve the startup and execution time of Gradle.
# When set to true the Gradle daemon is to run the build.
# TODO: disable daemon on CI, since builds should be clean and reliable on servers
org.gradle.daemon=true

# 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=-Xms256m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -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

# Enables new incubating mode that makes Gradle selective when configuring projects.
# Only relevant projects are configured which results in faster builds for large multi-projects.
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:configuration_on_demand
#org.gradle.configureondemand=true

org.gradle.java.home=D:\\Program Files\\Java\\jdk1.8.0_92

com.android.build.gradle.overridePathCheck=true

von Ruben Sanchez Peña - am 29.05.2016 22:03
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.