Skip to content

Commit

Permalink
Upgrading to JDK 17 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Feb 15, 2023
1 parent 76f2a08 commit 8808fb4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Check out current repository
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Check out current repository
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Check out current repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Check out current repository
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Check out current repository
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Removed

### Fixed
- support for IntelliJ 2022.3 (#201)

### Security

Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ tasks.jar {
tasks {
// Set the compatibility versions to 11
withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
sourceCompatibility = "17"
targetCompatibility = "17"
}
listOf("compileKotlin", "compileTestKotlin").forEach {
getByName<KotlinCompile>(it) {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
}
}

withType<Detekt> {
jvmTarget = "11"
jvmTarget = "17"
}
patchPluginXml {
version.set(properties("pluginVersion"))
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

pluginGroup = org.jetbrains.plugins.template
pluginName = diagrams.net-intellij-plugin
pluginVersion = 0.1.14
pluginSinceBuild = 211
pluginVersion = 0.2.0
pluginSinceBuild = 223

# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions.
pluginVerifierIdeVersions = 2021.1.3, 2021.2.3, 2021.3
pluginVerifierIdeVersions = 2022.3.2

platformType = IC
platformVersion = 2021.3
platformVersion = 2022.3.2
platformDownloadSources = true

# Opt-out flag for bundling Kotlin standard library.
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8808fb4

Please sign in to comment.