mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Build fixes
This commit is contained in:
parent
911c85a004
commit
0d989431ae
3 changed files with 8 additions and 3 deletions
|
@ -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).
|
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
|
## Building and Running
|
||||||
|
|
||||||
You can use the gradle wrapper to build and run the project:
|
You can use the gradle wrapper to build and run the project:
|
||||||
|
|
|
@ -95,8 +95,8 @@ public class AppProperties {
|
||||||
.map(Boolean::parseBoolean)
|
.map(Boolean::parseBoolean)
|
||||||
.orElse(false);
|
.orElse(false);
|
||||||
locatorVersionCheck = Optional.ofNullable(System.getProperty("io.xpipe.app.locator.disableInstallationVersionCheck"))
|
locatorVersionCheck = Optional.ofNullable(System.getProperty("io.xpipe.app.locator.disableInstallationVersionCheck"))
|
||||||
.map(Boolean::parseBoolean)
|
.map(s -> !Boolean.parseBoolean(s))
|
||||||
.orElse(false);
|
.orElse(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void logSystemProperties() {
|
public static void logSystemProperties() {
|
||||||
|
|
5
dist/build.gradle
vendored
5
dist/build.gradle
vendored
|
@ -15,6 +15,10 @@ repositories {
|
||||||
task dist(type: DefaultTask) {}
|
task dist(type: DefaultTask) {}
|
||||||
|
|
||||||
|
|
||||||
|
run {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
distTar {
|
distTar {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
}
|
}
|
||||||
|
@ -23,7 +27,6 @@ distZip {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
import org.gradle.crypto.checksum.Checksum
|
import org.gradle.crypto.checksum.Checksum
|
||||||
|
|
||||||
import java.util.stream.Collectors
|
import java.util.stream.Collectors
|
||||||
|
|
Loading…
Reference in a new issue