gradle.properties 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. wireguardVersionCode=510
  2. wireguardVersionName=1.0.20231018
  3. wireguardPackageName=com.wireguard.android
  4. # When configured, Gradle will run in incubating parallel mode.
  5. # This option should only be used with decoupled projects. More details, visit
  6. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  7. org.gradle.parallel=true
  8. org.gradle.configureondemand=true
  9. org.gradle.caching=true
  10. # Enable Kotlin incremental compilation
  11. kotlin.incremental=true
  12. # Enable AndroidX support
  13. android.useAndroidX=true
  14. # Specifies the JVM arguments used for the daemon process.
  15. # The setting is particularly useful for tweaking memory settings.
  16. org.gradle.jvmargs=-Xmx1536m
  17. # Turn off AP discovery in compile path to enable compile avoidance
  18. kapt.include.compile.classpath=false
  19. # Enable non-transitive R class namespacing where each library only contains
  20. # references to the resources it declares instead of declarations plus all
  21. # transitive dependency references.
  22. android.nonTransitiveRClass=true
  23. # Experimental AGP flags
  24. # Generate compile-time only R class for app modules.
  25. android.enableAppCompileTimeRClass=true
  26. # Keep AAPT2 daemons alive between incremental builds.
  27. android.keepWorkerActionServicesBetweenBuilds=true
  28. # Make R fields non-final to improve build speeds.
  29. # http://tools.android.com/tips/non-constant-fields
  30. android.nonFinalResIds=true
  31. # Enable the newly refactored resource shrinker.
  32. android.experimental.enableNewResourceShrinker=true
  33. # Enable precise shrinking in the new resource shrinker.
  34. android.experimental.enableNewResourceShrinker.preciseShrinking=true
  35. # Generate manifest class as a .class directly rather than a Java source file.
  36. android.generateManifestClass=true
  37. # Generate the text map of source sets and absolute paths to allow
  38. # generating relative paths from absolute paths later in the build.
  39. android.experimental.enableSourceSetPathsMap=true
  40. # Use relative paths for better Gradle caching of library build tasks
  41. android.experimental.cacheCompileLibResources=true
  42. # Default Android build features
  43. # Disable BuildConfig generation by default
  44. android.defaults.buildfeatures.buildconfig=false
  45. # Disable AIDL stub generation by default
  46. android.defaults.buildfeatures.aidl=false
  47. # Disable RenderScript compilation by default
  48. android.defaults.buildfeatures.renderscript=false
  49. # Disable resource values generation by default in libraries
  50. android.defaults.buildfeatures.resvalues=false
  51. # Disable shader compilation by default
  52. android.defaults.buildfeatures.shaders=false
  53. # Disable Android resource processing by default
  54. android.library.defaults.buildfeatures.androidresources=false
  55. # Suppress warnings for some features that aren't yet stabilized
  56. android.suppressUnsupportedOptionWarnings=android.keepWorkerActionServicesBetweenBuilds,\
  57. android.experimental.enableNewResourceShrinker.preciseShrinking,\
  58. android.enableAppCompileTimeRClass,\
  59. android.suppressUnsupportedOptionWarnings
  60. # OSSRH sometimes struggles with slow deployments, so this makes Gradle
  61. # more tolerant to those delays.
  62. systemProp.org.gradle.internal.http.connectionTimeout=500000
  63. systemProp.org.gradle.internal.http.socketTimeout=500000