xpipe-mirror/dist/build.gradle

56 lines
1.3 KiB
Groovy
Raw Normal View History

2023-01-27 02:34:46 +00:00
plugins {
2023-04-10 15:22:07 +00:00
id 'org.beryx.jlink' version '2.26.0'
2023-01-27 02:34:46 +00:00
id "org.moditect.gradleplugin" version "1.0.0-rc3"
id "org.asciidoctor.jvm.convert" version "3.3.2"
2023-04-29 19:53:52 +00:00
id 'org.jreleaser' version '1.6.0'
2023-04-10 15:22:07 +00:00
id("com.netflix.nebula.ospackage") version "11.2.0"
2023-01-27 02:34:46 +00:00
}
repositories {
mavenCentral()
}
2023-02-01 10:05:26 +00:00
version = rootProject.versionString
2023-01-27 02:34:46 +00:00
task dist(type: DefaultTask) {}
clean {
setDelete(Set.of())
doLast {
fileTree(dir: project.buildDir).exclude("jreleaser/**").visit { FileVisitDetails details ->
delete details.file
}
}
}
distTar {
enabled = false;
}
distZip {
enabled = false;
}
apply from: 'base.gradle'
apply from: 'jpackage.gradle'
if (rootProject.fullVersion) {
2023-02-10 18:35:32 +00:00
apply from: 'cli.gradle'
2023-01-27 02:34:46 +00:00
apply from: 'portable.gradle'
apply from: 'proguard.gradle'
apply from: 'jreleaser.gradle'
2023-05-21 14:12:06 +00:00
apply from: 'choco.gradle'
2023-04-21 07:13:27 +00:00
//apply from: 'flatpak.gradle'
2023-01-27 02:34:46 +00:00
if (org.gradle.internal.os.OperatingSystem.current().isLinux()) {
apply from: 'linux_packages.gradle'
} else if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
apply from: 'msi.gradle'
} else if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
apply from: 'pkg.gradle'
}
apply from: 'test.gradle'
}