mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-03 03:01:13 +12:00
23 lines
613 B
Groovy
23 lines
613 B
Groovy
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
|
|
|
|
def currentOS = DefaultNativePlatform.currentOperatingSystem;
|
|
def platform
|
|
if (currentOS.isWindows()) {
|
|
platform = 'win'
|
|
} else if (currentOS.isLinux()) {
|
|
platform = 'linux'
|
|
} else if (currentOS.isMacOsX()) {
|
|
platform = 'mac'
|
|
}
|
|
|
|
configurations {
|
|
dep
|
|
}
|
|
|
|
dependencies {
|
|
dep "org.openjfx:javafx-base:19:${platform}"
|
|
dep "org.openjfx:javafx-controls:19:${platform}"
|
|
dep "org.openjfx:javafx-graphics:19:${platform}"
|
|
dep "org.openjfx:javafx-media:19:${platform}"
|
|
dep "org.openjfx:javafx-web:19:${platform}"
|
|
}
|