Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HanSolo committed Jul 14, 2022
1 parent d4e763d commit 9d5f838
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
components: 'native-image'

- name: Build native-image on Macos
run: native-image -jar ./build/libs/discocli-17.0.14-SNAPSHOT-fat.jar --no-server -H:Name=discocli --no-fallback --enable-http --enable-https
run: native-image -jar ./build/libs/discocli-17.0.15-SNAPSHOT-fat.jar --no-server -H:Name=discocli --no-fallback --enable-http --enable-https

- name: Upload binary
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
components: 'native-image'

- name: Build native-image on Linux
run: native-image -jar ./build/libs/discocli-17.0.14-SNAPSHOT-fat.jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https
run: native-image -jar ./build/libs/discocli-17.0.15-SNAPSHOT-fat.jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https

- name: Upload binary
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
components: 'native-image'

- name: Build native-image on Windows
run: native-image.cmd -jar ".\build\libs\discocli-17.0.14-SNAPSHOT-fat.jar" --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https
run: native-image.cmd -jar ".\build\libs\discocli-17.0.15-SNAPSHOT-fat.jar" --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https

- name: Upload binary
uses: actions/upload-artifact@v2
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Disco CLI is a command line interface for the [foojay.io](https://foojay.io) [Disco API](https://github.com/foojayio/discoapi)

You can either use the jar file and start it with java -jar discocli-17.0.14.jar (which needs JDK 17 to be
You can either use the jar file and start it with java -jar discocli-17.0.15.jar (which needs JDK 17 to be
the current jdk) or
you can use the native image and call it via discocli.
At the moment there are binaries available for
Expand All @@ -47,7 +47,7 @@ Get help by using the ```-h or --help``` parameter as follows:

```shell
Using the jar:
java -jar discocli-17.0.14.jar -h
java -jar discocli-17.0.15.jar -h

Using the binary:
discocli -h
Expand All @@ -68,11 +68,11 @@ the lib c type parameter in combination with linux as os e.g. ```-os linux -lc m

Get Zulu with version 17.0.2 for windows including JavaFX:
```shell
java -jar discocli-17.0.14.jar -d zulu -v 17.0.2 -fx -os windows
java -jar discocli-17.0.15.jar -d zulu -v 17.0.2 -fx -os windows
```
Get the latest version of JDK 17 for Temurin on Linux:
```shell
java -jar discocli-17.0.14.jar -d temurin -v 17 -os linux -latest
java -jar discocli-17.0.15.jar -d temurin -v 17 -os linux -latest
```


Expand Down Expand Up @@ -221,13 +221,13 @@ cd /build/libs
```
```shell
Windows:
%GRAALVM_HOME%\bin\native-image.cmd -jar discocli-17.0.14.jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https
%GRAALVM_HOME%\bin\native-image.cmd -jar discocli-17.0.15![img.png](img.png).jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https

Linux:
$GRAALVM_HOME/bin/native-image -jar discocli-17.0.14.jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https
$GRAALVM_HOME/bin/native-image -jar discocli-17.0.15.jar --no-server -H:Name=discocli --no-fallback --static --enable-http --enable-https

Macos:
$GRAALVM_HOME/bin/native-image -jar ./discocli-17.0.14.jar --no-server -H:Name=discocli --no-fallback --enable-http --enable-https
$GRAALVM_HOME/bin/native-image -jar ./discocli-17.0.15.jar --no-server -H:Name=discocli --no-fallback --enable-http --enable-https
```

#### Usage
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ plugins {
id 'java-library'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'net.nemerosa.versioning' version '2.15.1'
id 'org.jreleaser' version '1.0.0-RC2'
id 'org.jreleaser.jdks' version '1.0.0-RC2'
id 'net.nemerosa.versioning' version '3.0.0'
id 'org.jreleaser' version '1.1.0'
id 'org.jreleaser.jdks' version '1.1.0'
}

description = 'Disco CLI is a command line interface for the foojay.io Disco API'
Expand All @@ -33,7 +33,7 @@ repositories {
}

dependencies {
implementation 'eu.hansolo:jdktools:17+'
implementation 'eu.hansolo:jdktools:17.0.18'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'info.picocli:picocli:4.6.3'
annotationProcessor 'info.picocli:picocli-codegen:4.6.3'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ sourceCompatibility = 17
targetCompatibility = 17

group = eu.hansolo
version = 17.0.14
version = 17.0.15-SNAPSHOT
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Binary file added img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/java/eu/hansolo/discocli/DiscoCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
@Command(
name = "discocli",
description = "Download a JDK pkg defined by the given parameters",
version = "17.0.14"
version = "17.0.15"
)
public class DiscoCLI implements Callable<Integer> {

Expand Down Expand Up @@ -157,7 +157,7 @@ private int downloadPkg(final String url, final String filename, final long size
if (versionRequested) {
String versionString = new StringBuilder().append("###################\n")
.append("# DiscoCLI #\n")
.append("# 17.0.14 #\n")
.append("# 17.0.15 #\n")
.append("###################\n")
.toString();
System.out.println(versionString);
Expand Down

0 comments on commit 9d5f838

Please sign in to comment.