2021-04-25 13:25:20 +00:00
|
|
|
plugins {
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation project(':shared')
|
|
|
|
implementation project(':shared')
|
|
|
|
|
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 15:54:47 +00:00
|
|
|
implementation group: 'org.apache.camel', name: 'camel-core', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-main', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-http', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-jackson', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-bean', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-timer', version: camelVersion
|
|
|
|
implementation group: 'org.apache.camel', name: 'camel-stream', version: camelVersion
|
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()
|
2021-05-04 15:54:47 +00:00
|
|
|
}
|