Skip to content

Commit

Permalink
revert to picocliVersion 4.7.5 and jline 3.19.0
Browse files Browse the repository at this point in the history
Otherwise is fails with GraalVM CE 17

```
> Task :micronaut-cli:nativeCompile FAILED
[native-image-plugin] GraalVM Toolchain detection is disabled
[native-image-plugin] GraalVM location read from environment variable: JAVA_HOME
[native-image-plugin] Native Image executable path: /Users/sdelamo/.sdkman/candidates/java/17.0.9-graalce/lib/svm/bin/native-image
Error: Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-native/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jna/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-ffm/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jansi/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jansi/native-image.properties'. Use -H:PrintFlags= to list all available options.
```
  • Loading branch information
sdelamo committed Aug 23, 2024
1 parent 31c9ec1 commit 70bf344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions starter-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

ext {
picocliVersion = '4.7.6'
picocliVersion = '4.7.5'
}

configurations {
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {
implementation("javax.inject:javax.inject:1")
implementation("org.shredzone.acme4j:acme4j-client")
implementation("org.shredzone.acme4j:acme4j-utils:2.16")
implementation('org.jline:jline:3.25.0')
implementation('org.jline:jline:3.19.0')

testImplementation("io.micronaut.picocli:micronaut-picocli")
testImplementation("org.testcontainers:spock")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,4 @@ public void setAutosuggestion(SuggestionType suggestionType) {
public SuggestionType getAutosuggestion() {
return null;
}

@Override
public void zeroOut() {

}
}

0 comments on commit 70bf344

Please sign in to comment.