48 lines
1.3 KiB
Groovy
48 lines
1.3 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Java application project to get you started.
|
|
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/7.0/userguide/building_java_projects.html
|
|
*/
|
|
|
|
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'
|
|
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
|
testImplementation project(':shared')
|
|
|
|
implementation project(':shared')
|
|
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
|
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
|
|
|
|
annotationProcessor(group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}")
|
|
implementation group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}"
|
|
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClassName = 'org.sysmon.agent.Application'
|
|
}
|
|
|
|
run {
|
|
systemProperty 'pf4j.pluginsDir', '../plugins/test/'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
// Use junit platform for unit tests.
|
|
useJUnitPlatform()
|
|
}
|