Skip to content

Commit

Permalink
Revert "feat: Support graphql-kotlin-bom" (#2021)
Browse files Browse the repository at this point in the history
Reverts #2020
  • Loading branch information
samuelAndalon authored Jul 25, 2024
1 parent 778e776 commit d038e2e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 122 deletions.
48 changes: 0 additions & 48 deletions bom/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions bom/build.gradle.kts

This file was deleted.

6 changes: 0 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ include(":graphql-kotlin-dataloader")
include(":graphql-kotlin-dataloader-instrumentation")
include(":graphql-kotlin-automatic-persisted-queries")

// BOM
include(":graphql-kotlin-bom")

//
// Project mappings so we don't need to create projects that group subprojects
//
Expand Down Expand Up @@ -68,6 +65,3 @@ project(":graphql-kotlin-ktor-server").projectDir = file("servers/graphql-kotlin
project(":graphql-kotlin-dataloader").projectDir = file("executions/graphql-kotlin-dataloader")
project(":graphql-kotlin-dataloader-instrumentation").projectDir = file("executions/graphql-kotlin-dataloader-instrumentation")
project(":graphql-kotlin-automatic-persisted-queries").projectDir = file("executions/graphql-kotlin-automatic-persisted-queries")

// BOM
project(":graphql-kotlin-bom").projectDir = file("bom")
38 changes: 1 addition & 37 deletions website/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ Using a JVM dependency manager, link any `graphql-kotlin-*` library to your proj
defaultValue="gradle"
values={[
{ label: 'Gradle Kotlin', value: 'gradle' },
{ label: 'Gradle Kotlin with BOM', value: 'gradle-bom' },
{ label: 'Maven', value: 'maven' },
{ label: 'Maven with BOM', value: 'maven-bom' }
{ label: 'Maven', value: 'maven' }
]
}>

Expand All @@ -30,15 +28,6 @@ Using a JVM dependency manager, link any `graphql-kotlin-*` library to your proj
implementation("com.expediagroup", "graphql-kotlin-spring-server", latestVersion)
```

</TabItem>
<TabItem value="gradle-bom">

```kotlin
implementation(platform("com.expediagroup:graphql-kotlin-bom:$latestVersion"))

implementation("com.expediagroup", "graphql-kotlin-spring-server")
```

</TabItem>
<TabItem value="maven">

Expand All @@ -50,31 +39,6 @@ implementation("com.expediagroup", "graphql-kotlin-spring-server")
</dependency>
```

</TabItem>

<TabItem value="maven-bom">

```xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.expediagroup</groupId>
<artifactId>graphql-kotlin-bom</artifactId>
<version>${latestVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.expediagroup</groupId>
<artifactId>graphql-kotlin-spring-server</artifactId>
</dependency>
</dependencies>
```

</TabItem>
</Tabs>

Expand Down

0 comments on commit d038e2e

Please sign in to comment.