Skip to content

Commit

Permalink
update docs and add maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian committed Mar 6, 2024
1 parent d0b6d8b commit 68375af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 29 deletions.
9 changes: 6 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
repositories {
mavenCentral()
}

plugins {
kotlin("jvm") version "1.9.21"
}

val graphqlKotlinVersion = "7.0.2"
dependencies {
implementation("com.expediagroup", "graphql-kotlin-schema-generator", graphqlKotlinVersion)
implementation("com.expediagroup", "graphql-kotlin-federation", graphqlKotlinVersion)
implementation("com.expediagroup", "graphql-kotlin-schema-generator", "7.0.2")
implementation("com.expediagroup", "graphql-kotlin-federation", "7.0.2")
}

sourceSets {
Expand Down
28 changes: 2 additions & 26 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
### Installation

```
$ yarn
$ bun install
```

### Local Development

```
$ yarn start
$ bun docs:start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

Using SSH:

```
$ USE_SSH=true yarn deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

0 comments on commit 68375af

Please sign in to comment.