Skip to content

Commit

Permalink
chore: clean codes
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy committed Nov 4, 2023
1 parent fb27473 commit 8f7c314
Show file tree
Hide file tree
Showing 40 changed files with 88 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dgs-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-fileupload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-kotlin-co.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-subscription-sse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-subscription-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"

- uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-subscription-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs-webflux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-java-kickstart-annotations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-java-kickstart-webclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-java-kickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-spqr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spring-graphql-querydsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spring-graphql-rsocket-kotlin-co.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Setup Postgres in Docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spring-graphql-webflux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spring-graphql-webmvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spring-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Postgres in Docker
run: |
Expand Down
5 changes: 4 additions & 1 deletion dgs-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion dgs-codegen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion dgs-fileupload/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
4 changes: 2 additions & 2 deletions dgs-kotlin-co/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
Expand Down Expand Up @@ -78,7 +78,7 @@ tasks.withType<GenerateJavaTask> {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict", "-opt-in=kotlin.RequiresOptIn")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
4 changes: 2 additions & 2 deletions dgs-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenLocal()
Expand Down Expand Up @@ -78,7 +78,7 @@ tasks.withType<GenerateJavaTask> {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
4 changes: 2 additions & 2 deletions dgs-subscription-sse/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
Expand Down Expand Up @@ -64,7 +64,7 @@ tasks.withType<GenerateJavaTask> {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
4 changes: 2 additions & 2 deletions dgs-subscription-ws/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
Expand Down Expand Up @@ -64,7 +64,7 @@ tasks.withType<GenerateJavaTask> {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
5 changes: 4 additions & 1 deletion dgs-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion dgs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion graphql-java-kickstart-annotations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion graphql-java-kickstart-webclient/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion graphql-java-kickstart/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
4 changes: 2 additions & 2 deletions graphql-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
Expand Down Expand Up @@ -78,7 +78,7 @@ dependencyManagement {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict", "-opt-in=kotlin.RequiresOptIn")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
5 changes: 4 additions & 1 deletion graphql-spqr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ plugins {

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}


repositories {
mavenLocal()
Expand Down
5 changes: 4 additions & 1 deletion legacy/graphql-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ plugins {
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
java {
sourceCompatibility = '21'
}

}

repositories {
Expand Down
Loading

0 comments on commit 8f7c314

Please sign in to comment.