You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
681 B
40 lines
681 B
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'application'
|
|
|
|
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"]
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
implementation(fileTree("lib"))
|
|
} |