2021-04-25 13:25:20 +00:00
|
|
|
plugins {
|
|
|
|
id 'groovy'
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
// Use Maven Central for resolving dependencies.
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation 'org.codehaus.groovy:groovy:3.0.7'
|
|
|
|
testImplementation 'org.spockframework:spock-core:2.0-M4-groovy-3.0'
|
|
|
|
testImplementation 'junit:junit:4.13.1'
|
2021-05-01 12:44:55 +00:00
|
|
|
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
2021-04-25 13:25:20 +00:00
|
|
|
testImplementation project(':shared')
|
|
|
|
|
|
|
|
implementation project(':shared')
|
2021-05-01 12:44:55 +00:00
|
|
|
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
|
|
|
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
|
2021-04-25 13:25:20 +00:00
|
|
|
|
2021-05-01 12:44:55 +00:00
|
|
|
annotationProcessor(group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}")
|
|
|
|
implementation group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}"
|
2021-04-25 13:25:20 +00:00
|
|
|
|
2021-05-04 12:23:34 +00:00
|
|
|
implementation group: 'org.apache.camel', name: 'camel-core', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-main', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-http', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-jackson', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-bean', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-timer', version: '3.7.3'
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-stream', version: '3.7.3'
|
2021-04-25 13:25:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
// Define the main class for the application.
|
2021-05-01 12:44:55 +00:00
|
|
|
mainClassName = 'org.sysmon.agent.Application'
|
|
|
|
}
|
|
|
|
|
|
|
|
run {
|
|
|
|
systemProperty 'pf4j.pluginsDir', '../plugins/test/'
|
2021-04-25 13:25:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
// Use junit platform for unit tests.
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|