Build fixes

This commit is contained in:
crschnick 2024-05-10 13:15:21 +00:00
parent 911c85a004
commit 0d989431ae
3 changed files with 8 additions and 3 deletions

View file

@ -38,6 +38,8 @@ sdk default java 21.0.1-graalce
.
On Windows, you have to manually install a JDK, e.g. from [Adoptium](https://adoptium.net/temurin/releases/?version=21).
You can configure a few development options in the file `app/dev.properties` which will be automatically generated when gradle is first run.
## Building and Running
You can use the gradle wrapper to build and run the project:

View file

@ -95,8 +95,8 @@ public class AppProperties {
.map(Boolean::parseBoolean)
.orElse(false);
locatorVersionCheck = Optional.ofNullable(System.getProperty("io.xpipe.app.locator.disableInstallationVersionCheck"))
.map(Boolean::parseBoolean)
.orElse(false);
.map(s -> !Boolean.parseBoolean(s))
.orElse(true);
}
public static void logSystemProperties() {

5
dist/build.gradle vendored
View file

@ -15,6 +15,10 @@ repositories {
task dist(type: DefaultTask) {}
run {
enabled = false
}
distTar {
enabled = false;
}
@ -23,7 +27,6 @@ distZip {
enabled = false;
}
import org.gradle.crypto.checksum.Checksum
import java.util.stream.Collectors