allprojects { group = 'haus.nightmare.j3270' version = '1.2.4' repositories { mavenCentral() } } subprojects { apply plugin: 'java' java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } test { useJUnitPlatform() jvmArgs '-Djava.awt.headless=true' testLogging { events "passed", "skipped", "failed" } } tasks.withType(Javadoc).configureEach { options.addStringOption('Xdoclint:none', '-quiet') options.encoding = 'UTF-8' } dependencies { testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } }