Files
perfdb/build.gradle
Andreas Huber 59aea1a15f introduce index clustering (part 1)
In order to prevent files from getting too big and
make it easier to implement retention policies, we
are splitting all files into chunks. Each chunk
contains the data for a time interval (1 month per
default).
This first changeset introduces the ClusteredPersistentMap
that implements this for PersistentMap. It is used
for a couple (not all) of indices.
2019-02-24 16:50:57 +01:00

94 lines
2.6 KiB
Groovy

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories {
jcenter()
}
dependencies {
// usage: gradle dependencyUpdates -Drevision=release
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
}
}
ext {
lib_antlr = "org.antlr:antlr4:4.7.2"
lib_commons_collections4 = 'org.apache.commons:commons-collections4:4.2'
lib_commons_lang3 = 'org.apache.commons:commons-lang3:3.8.1'
lib_guava = 'com.google.guava:guava:27.0.1-jre'
lib_jackson_databind = 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
lib_log4j2_api = 'org.apache.logging.log4j:log4j-api:2.11.1'
lib_log4j2_core = 'org.apache.logging.log4j:log4j-core:2.11.1'
lib_log4j2_slf4j_impl = 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.1'
lib_primitive_collections='org.lucares:primitiveCollections:0.1.20190217091430'
lib_spring_boot_log4j2='org.springframework.boot:spring-boot-starter-log4j2:2.1.2.RELEASE'
lib_spring_boot_mustache='org.springframework.boot:spring-boot-starter-mustache:2.1.2.RELEASE'
lib_spring_boot_test='org.springframework.boot:spring-boot-starter-test:2.1.2.RELEASE'
lib_spring_boot_web='org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE'
}
/*
* The shared configuration for all sub-projects:
*/
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
// java compatibility version
sourceCompatibility = 11
configurations {
tests
}
// the repositories for external depenencies
repositories {
maven {
url 'https://repo.lucares.de/'
content { includeGroup "org.lucares" }
}
mavenCentral(content: { excludeGroup "org.lucares" })
jcenter{
content { excludeGroup "org.lucares" }
}
}
// In this example we use TestNG as our testing tool. JUnit is the default.
test{
useTestNG()
//testLogging.showStandardStreams = true
}
// dependencies that all sub-projects have
dependencies {
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
}
}
allprojects {
compileJava.options.encoding = 'UTF-8'
task eclipseSettings(type: Copy) {
from ("${rootProject.projectDir}/eclipse/") {
include '**/*.prefs'
//filter(ReplaceTokens, tokens: [rootProjectDir: "${rootProject.projectDir}".toString().replaceAll('\\\\', '/')])
}
into "${project.projectDir}/.settings/"
}
tasks.eclipseJdt.dependsOn eclipseSettings
tasks.cleanEclipseJdt.dependsOn cleanEclipseSettings
}
wrapper {
gradleVersion = '5.2.1'
}