Advertisement
dennismayr

gradle.properties for OpenJ9 (low footprint / high performance)

Oct 18th, 2021 (edited)
3,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## For more details on how to configure your build environment visit
  2. # http://www.gradle.org/docs/current/userguide/build_environment.html
  3. #
  4. # Specifies the JVM arguments used for the daemon process.
  5. # The setting is particularly useful for tweaking memory settings.
  6. # Default value: -Xmx1024m -XX:MaxPermSize=256m
  7. # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  8. #
  9. # When configured, Gradle will run in incubating parallel mode.
  10. # This option should only be used with decoupled projects. More details, visit
  11. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  12. # org.gradle.parallel=true
  13. #Fri Aug 07 12:54:47 CLT 2020
  14.  
  15. # Android options
  16. android.useAndroidX=true
  17. android.databinding.incremental=true
  18.  
  19. # My super-efficient config:
  20. org.gradle.caching=true
  21. org.gradle.parallel=true
  22. org.gradle.configureondemand=true
  23. org.gradle.console=rich
  24. org.gradle.daemon.idletimeout=7200000
  25.  
  26. # Turn on warnings to check for deprecation options
  27. # org.gradle.warning.mode=all
  28.  
  29. # Kotlin code style for this project: "official" or "obsolete":
  30. kotlin.code.style=official
  31.  
  32. # Kotlin build options
  33. kotlin.caching.enabled=true
  34. kotlin.incremental=true
  35. kotlin.incremental.js=true
  36.  
  37. # JVM args for OpenJ9:
  38. # org.gradle.java.home=/home/$USER/.jdks/[JDK_DIR] - opcional si se usa Gradle además *aparte* de Android Studio o IDEA
  39. org.gradle.jvmargs=-Dkotlin.daemon.jvm.options=-Xms256m,-Xmx2g,-Xcodecachetotal384m,-Xquickstart,-Xaggressive,-Xgc:concurrentScavenge,-Xshareclasses -256m -Xmx2g -Xcodecachetotal512m -Xquickstart -Xaggressive -Xgc:concurrentScavenge -Xshareclasses -XX:+HeapDumpOnOutOfMemory -XX:+IdleTuningGcOnIdle -Dfile.encoding=UTF-8
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement