mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
3c86b7b780
This is almost working with many workarounds: - run rm lib/yacycore.jar - run ./gradlew clean build bundleNative - run ant clean all - run again rm lib/yacycore.jar - run ./fixMacBuild.sh The build is then inside build/mac/YaCy.app Right now this works so far but it does not have the correct release number inside. Target is to make this working for Windows releases and to embedd jre entirely.
69 lines
1.2 KiB
Groovy
69 lines
1.2 KiB
Groovy
buildscript {
|
|
dependencies {
|
|
classpath "org.mini2Dx:parcl:1.7.1"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'application'
|
|
apply plugin: "org.mini2Dx.parcl"
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'lib'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs = ['source']
|
|
}
|
|
}
|
|
}
|
|
|
|
group = 'net.yacy'
|
|
version = '1.925'
|
|
description = 'YaCy Search Server'
|
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
|
java.targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
mainClassName = "net.yacy.yacy"
|
|
applicationDefaultJvmArgs = ["-Xmx1024m"]
|
|
|
|
parcl {
|
|
exe {
|
|
exeName = "YaCy"
|
|
}
|
|
|
|
app {
|
|
vmArgs = ["-Xmx1g"]
|
|
appName = "YaCy"
|
|
icon = "addon/YaCy.icns"
|
|
applicationCategory = "Search-Engine"
|
|
displayName = 'YaCy Search Engine'
|
|
identifier = 'net.yacy'
|
|
copyright = 'Copyright 2021 Michael Peter Christen et al.'
|
|
zipName = 'YaCy.zip'
|
|
}
|
|
|
|
linux {
|
|
binName = "YaCy"
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
implementation(fileTree("lib"))
|
|
}
|