From 763fefcdc7454a178d0ef32dbe64b2867d99273c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Mon, 23 Sep 2024 13:24:47 +0200 Subject: [PATCH] Fix default value for `robolectric.offline` In #289, I've added a column to display the default value of each Robolectric property. However, the default value for `robolectric.offline` is `false`, not `true`: https://github.com/robolectric/robolectric/blob/43fdc567619886f497ddca971bf31814f6d957ec/robolectric/src/main/java/org/robolectric/plugins/LegacyDependencyResolver.java#L74 --- docs/configuring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuring.md b/docs/configuring.md index 8ead69f34..e3e1def9a 100644 --- a/docs/configuring.md +++ b/docs/configuring.md @@ -180,7 +180,7 @@ Some additional options can be configured globally by setting these system prope | Property name | Description | Default value | |-----|-----|-----| | `robolectric.enabledSdks` | Comma-separated list of SDK levels or names (e.g. `33, 34` or `TIRAMISU, UPSIDE_DOWN_CAKE`) which are enabled for this process. Only tests targeting a listed SDKs will be run. | All SDKs | -| `robolectric.offline` | Set to `true` to disable runtime fetching of jars. | `true` | +| `robolectric.offline` | Set to `true` to disable runtime fetching of jars. | `false` | | `robolectric.usePreinstrumentedJars` | If `true`, Robolectric will use instrumented jars to reduce instrumentation overhead. If changes are made to instrumentation, this can be set to `false` to ensure the changes are included when building Robolectric. | `true` | | `robolectric.dependency.dir` | When in offline mode, specifies a folder containing runtime dependencies. | `null` | | `robolectric.dependency.repo.id` | Set the ID of the Maven repository to use for the runtime dependencies. | `mavenCentral` |