Skip to content

Commit

Permalink
Speicfy target java version
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxon committed Jun 27, 2024
1 parent 5bfad82 commit b6b249a
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 9 deletions.
8 changes: 6 additions & 2 deletions common-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
plugins {
id "io.freefair.lombok" version "6.5.0.3"
id 'java'
id 'java-library'
}

group = 'bitxon.common'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
Expand Down
8 changes: 6 additions & 2 deletions common-wiremock/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
plugins {
id 'java'
id 'java-library'
}

group = 'bitxon.common'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
6 changes: 5 additions & 1 deletion dropwizard-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ plugins {

group = 'bitxon.dropwizard'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
Expand Down
7 changes: 5 additions & 2 deletions micronaut-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ plugins {

group = 'bitxon.micronaut'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'
targetCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
Expand Down
6 changes: 5 additions & 1 deletion quarkus-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ ext.set("quarkus.package.type", "uber-jar")

group = 'bitxon.quarkus'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
Expand Down
6 changes: 5 additions & 1 deletion spring-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ plugins {

group = 'bitxon.spring'
version = '1.0-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
Expand Down

0 comments on commit b6b249a

Please sign in to comment.