Skip to content

Commit d0fa2f3

Browse files
authored
Update leftover URL references (#14)
Follow-up to #13
1 parent a4853da commit d0fa2f3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ api.getBuilds(since = yesterday).forEach {
1616

1717
Set up once and use the library from any script in your machine:
1818

19-
- [`GRADLE_ENTERPRISE_URL`][16] environment variable: the URL of your Gradle Enterprise instance
19+
- [`GRADLE_ENTERPRISE_API_URL`][16] environment variable: the URL of your Gradle Enterprise instance
2020
- [`GRADLE_ENTERPRISE_API_TOKEN`][17] environment variable: an API access token for the Gradle
2121
Enterprise instance. Alternatively, can be a macOS keychain entry labeled
2222
`gradle-enterprise-api-token` (recommended).
@@ -128,5 +128,5 @@ API classes such as `GradleEnterpriseApi` and response models are generated from
128128
[13]: https://gabrielfeo.github.io/gradle-enterprise-api-kotlin/gradle-enterprise-api-kotlin/com.gabrielfeo.gradle.enterprise.api/-options/-cache/index.html
129129
[14]: https://jitpack.io/#gabrielfeo/gradle-enterprise-api-kotlin
130130
[15]: https://gabrielfeo.github.io/gradle-enterprise-api-kotlin/
131-
[16]: https://gabrielfeo.github.io/gradle-enterprise-api-kotlin/gradle-enterprise-api-kotlin/com.gabrielfeo.gradle.enterprise.api/-options/-gradle-enterprise-instance/index.html#-570175362%2FProperties%2F769193423
131+
[16]: https://gabrielfeo.github.io/gradle-enterprise-api-kotlin/gradle-enterprise-api-kotlin/com.gabrielfeo.gradle.enterprise.api/-options/-gradle-enterprise-instance-options/index.html#-259580834%2FProperties%2F769193423
132132
[17]: https://gabrielfeo.github.io/gradle-enterprise-api-kotlin/gradle-enterprise-api-kotlin/com.gabrielfeo.gradle.enterprise.api/-options/-gradle-enterprise-instance/index.html#2124126004%2FProperties%2F769193423

src/test/kotlin/com/gabrielfeo/gradle/enterprise/api/OkHttpClientTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ class OkHttpClientTest {
6868
val env = FakeEnv(*envVars)
6969
if ("GRADLE_ENTERPRISE_API_TOKEN" !in env)
7070
env["GRADLE_ENTERPRISE_API_TOKEN"] = "example-token"
71-
if ("GRADLE_ENTERPRISE_URL" !in env)
72-
env["GRADLE_ENTERPRISE_URL"] = "example-url"
71+
if ("GRADLE_ENTERPRISE_API_URL" !in env)
72+
env["GRADLE_ENTERPRISE_API_URL"] = "example-url"
7373
return buildOkHttpClient(Options(env, FakeKeychain()))
7474
}
75-
}
75+
}

0 commit comments

Comments
 (0)