Skip to content

Commit

Permalink
Fix default value for robolectric.offline
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MGaetan89 authored Sep 23, 2024
1 parent 6ce4bd9 commit 763fefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down

0 comments on commit 763fefc

Please sign in to comment.