Skip to content

Commit 544499d

Browse files
committed
Consolidate development to a single main branch
1 parent d601dec commit 544499d

File tree

14 files changed

+31
-36
lines changed

14 files changed

+31
-36
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,70 +4,70 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7-
target-branch: "develop"
7+
target-branch: "main"
88
reviewers:
99
- "kobylynskyi"
1010

1111
- package-ecosystem: "gradle"
1212
directory: "plugins/gradle/graphql-java-codegen-gradle-plugin/"
1313
schedule:
1414
interval: "weekly"
15-
target-branch: "develop"
15+
target-branch: "main"
1616
reviewers:
1717
- "kobylynskyi"
1818

1919
- package-ecosystem: "maven"
2020
directory: "plugins/maven/graphql-java-codegen-maven-plugin/"
2121
schedule:
2222
interval: "weekly"
23-
target-branch: "develop"
23+
target-branch: "main"
2424
reviewers:
2525
- "kobylynskyi"
2626

2727
- package-ecosystem: "gradle"
2828
directory: "plugins/gradle/example-client/"
2929
schedule:
3030
interval: "monthly"
31-
target-branch: "develop"
31+
target-branch: "main"
3232
reviewers:
3333
- "kobylynskyi"
3434

3535
- package-ecosystem: "gradle"
3636
directory: "plugins/gradle/example-server/"
3737
schedule:
3838
interval: "monthly"
39-
target-branch: "develop"
39+
target-branch: "main"
4040
reviewers:
4141
- "kobylynskyi"
4242

4343
- package-ecosystem: "gradle"
4444
directory: "plugins/gradle/example-client-kotlin/"
4545
schedule:
4646
interval: "monthly"
47-
target-branch: "develop"
47+
target-branch: "main"
4848
reviewers:
4949
- "kobylynskyi"
5050

5151
- package-ecosystem: "maven"
5252
directory: "plugins/maven/example-client/"
5353
schedule:
5454
interval: "monthly"
55-
target-branch: "develop"
55+
target-branch: "main"
5656
reviewers:
5757
- "kobylynskyi"
5858

5959
- package-ecosystem: "maven"
6060
directory: "plugins/maven/example-server/"
6161
schedule:
6262
interval: "monthly"
63-
target-branch: "develop"
63+
target-branch: "main"
6464
reviewers:
6565
- "kobylynskyi"
6666

6767
- package-ecosystem: "github-actions"
6868
directory: "/"
6969
schedule:
7070
interval: "monthly"
71-
target-branch: "develop"
71+
target-branch: "main"
7272
reviewers:
7373
- "kobylynskyi"

.github/workflows/check-code-style.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ name: Check Code Style
33
on:
44
push:
55
branches:
6-
- master
7-
- develop
6+
- main
87
pull_request:
98
branches:
10-
- master
11-
- develop
9+
- main
1210

1311
jobs:
1412
check-code-style:

.github/workflows/github.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ name: Build
33
on:
44
push:
55
branches:
6-
- master
7-
- develop
8-
- java-11-17
6+
- main
97
pull_request:
108
branches:
11-
- master
12-
- develop
9+
- main
1310

1411
jobs:
1512
build:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
required: true
1010
release_branch:
1111
description: 'Release branch'
12-
default: 'master'
12+
default: 'main'
1313
required: true
1414
publish_library:
1515
description: 'Publish library'

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Please follow the steps below in order to make the changes:
1717

1818
1. Clone the repository
1919
2. Set the local java version to 1.8
20-
3. Checkout **develop** branch.
20+
3. Checkout **main** branch.
2121
4. Open repository in your favourite IDE.
2222
5. Enable and configure CheckStyle plugin in your IDE (for IntelliJ it is CheckStyle-IDEA).
2323
Import [graphql-codegen-check-style.xml](config/checkstyle/graphql-codegen-check-style.xml) as a .

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ publishing {
100100
licenses {
101101
license {
102102
name = "MIT License"
103-
url = "https://github.com/kobylynskyi/graphql-java-codegen/blob/master/LICENSE"
103+
url = "https://github.com/kobylynskyi/graphql-java-codegen/blob/main/LICENSE"
104104
distribution = "repo"
105105
}
106106
}

docs/migration-to-2.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ version 1.x.x then please follow steps below.
66

77
### 1. Update plugin and library versions
88

9-
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/gradle)
10-
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/maven)
9+
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/gradle)
10+
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/maven)
1111

1212
### 2. Update plugin configuration (only for client-side codegen)
1313

docs/migration-to-3.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ follow [2.0.0 migration guide](migration-to-2.0.0.md) first.
77

88
### 1. Update plugin and library versions
99

10-
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/gradle)
11-
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/maven)
10+
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/gradle)
11+
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/maven)
1212

1313
### 2. Remove `generateAsyncApis` and rename `apiAsyncReturnType`/`apiAsyncReturnListType`
1414

docs/migration-to-4.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ follow [3.0.0 migration guide](migration-to-3.0.0.md) first.
77

88
### 1. Update plugin and library versions
99

10-
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/gradle)
11-
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/maven)
10+
As per plugin description: [Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/gradle)
11+
, [Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/maven)
1212

1313
### 2. Change GraphQL Resolvers containing non-null GraphQL types to primitive Java types
1414

docs/migration-to-5.0.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Otherwise - feel free to use graphql-java-codegen-5.0.0 without any breaking cha
1313
### 1. Update plugin and library versions
1414

1515
As per plugin description:
16-
[Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/gradle),
17-
[Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/maven),
18-
[SBT](https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/sbt)
16+
[Gradle](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/gradle),
17+
[Maven](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/maven),
18+
[SBT](https://github.com/kobylynskyi/graphql-java-codegen/tree/main/plugins/sbt)
1919

2020
### 2. Rename jsonConfigurationFile => configurationFiles
2121

0 commit comments

Comments
 (0)