apply plugin: 'java' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() } dependencies { implementation 'org.apache.logging.log4j:log4j-core:2.12.1' implementation 'com.vlkan.log4j2:log4j2-logstash-layout:0.19' testCompile 'org.junit.jupiter:junit-jupiter-api:5.5.1' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1' } test { useJUnitPlatform() testLogging { events "passed", "skipped", "failed" } }