Skip to content

Commit

Permalink
Add README detail
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 26, 2024
1 parent f0bdba4 commit 8dbb384
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ This repo contains instructions for customers of the http4k LTS programme.

The LTS version of the http4k libraries are hosted in a private Maven repository, at [https://maven.http4k.org]. Access to these artifacts requires credentials that will be issued with your LTS subscription.

Configuring Gradle to use the private Maven repo can be done by using a custom repository:

```kotlin
val ltsUser: String by project
val ltsPassword: String by project

repositories {
maven {
credentials {
username = ltsUser
password = ltsPassword
}
url = URI("https://maven.http4k.org/maven2")
}

mavenCentral()
}
```

To set up access in your Gradle build, you will need to pass the credentials in some fashion. The easiest way to do this is to put them in your `gradle.properties` or to pass them on the command line. The properties are `ltsUser` and `ltsPassword`:

```shell
Expand Down

0 comments on commit 8dbb384

Please sign in to comment.