apply plugin: "java" apply plugin: "eclipse" apply plugin: "idea" // set default encoding to UTF-8 compileJava.options.encoding = "UTF-8" compileTestJava.options.encoding = "UTF-8" repositories { mavenCentral() } dependencies { testImplementation "junit:junit:4.13" testImplementation "org.assertj:assertj-core:3.15.0" } test { testLogging { exceptionFormat = 'full' showStandardStreams = true events = ["passed", "failed", "skipped"] } } sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11