Skip to content

Commit

Permalink
added sourceCompatibility and targetCompatibility to compile a Java 1…
Browse files Browse the repository at this point in the history
…7 compatible plugin
  • Loading branch information
polischuks committed Nov 5, 2024
1 parent 5865a2e commit 14fefa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '17'
distribution: 'corretto'

- name: Setup Gradle
Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ gradlePlugin {
}

group 'org.hyperskill'
version '1.6'
version '1.7'

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

publishing {
publications {
Expand Down

0 comments on commit 14fefa2

Please sign in to comment.