-
Notifications
You must be signed in to change notification settings - Fork 39
/
build.gradle
42 lines (33 loc) · 994 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id 'application'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
implementation "ch.qos.logback:logback-classic:$libLogbackVersion"
implementation "org.slf4j:slf4j-api:1.7.30"
implementation "org.codehaus.groovy:groovy-all:3.0.2"
implementation fileTree('lib') {
include 'kieker-*.jar'
}
}
distTar.enabled=false
// Simplify the JAR's file name
archivesBaseName = 'BookstoreApplication'
version = ''
sourceSets.main.java.srcDirs = ['src']
sourceSets.main.resources.srcDirs = [ '../../resources' ]
mainClassName = 'kieker.examples.monitoring.manual.BookstoreStarter'
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}
task runMonitoring(type: JavaExec) {
main = mainClassName
classpath = sourceSets.main.runtimeClasspath
jvmArgs = ['-Dkieker.monitoring.writer.filesystem.FileWriter.customStoragePath=monitoring-logs']
}