Skip to content

Commit

Permalink
update workflow with java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Jul 27, 2024
1 parent b51e76f commit fc2121c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v2
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'

# Cache Gradle dependencies
Expand All @@ -41,7 +41,7 @@ jobs:
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew check verifyPlugin buildPlugin
run: ./gradlew check buildPlugin

# enable for multiple build
# - name: Build with Gradle for PhpStorm 2022.3.2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ out/
/php-annotation.jar
/build
/.gradle
.intellijPlatform
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

fun properties(key: String) = project.findProperty(key).toString()
Expand Down
Binary file added plugin-verifier-cli.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Daniel Espendiller <daniel@espendiller.net>
*/
@State(name = "PhpAnnotationsPlugin", storages = @Storage(file = "$APP_CONFIG$/php-annotations.xml"))
@State(name = "PhpAnnotationsPlugin", storages = @Storage())
public class ApplicationSettings implements PersistentStateComponent<ApplicationSettings> {

public boolean appendRoundBracket = true;
Expand Down

0 comments on commit fc2121c

Please sign in to comment.