Skip to content

Commit

Permalink
🛠️ Downgrade Qodana & add foojay-resolver-convention to :buildSrc
Browse files Browse the repository at this point in the history
Downgrading fixes:

> java.io.IOException: Exception /opt/idea/plugins/sh/lib/sh.jar while loading META-INF/sh.xml

And `foojay-resolver-convention` fixes:

> Cannot find a Java installation on your machine matching this tasks requirements:
> {languageVersion=11, vendor=any, implementation=vendor-specific} for LINUX on x86_64.
  • Loading branch information
lunakoly committed Sep 30, 2024
1 parent 3342696 commit 97594e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention")
}

// Source:
// https://docs.gradle.org/current/userguide/platforms.html#sec:importing-catalog-from-file
dependencyResolutionManagement {
Expand Down
2 changes: 1 addition & 1 deletion qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://www.jetbrains.com/help/qodana/qodana-yaml.html

version: 1.0
linter: jetbrains/qodana-jvm-community:latest
linter: jetbrains/qodana-jvm-community:2024.1
projectJDK: "21"
profile:
name: qodana.recommended
Expand Down

0 comments on commit 97594e0

Please sign in to comment.