plugins { id 'java' // id 'checkstyle' } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } repositories { mavenCentral() flatDir { dirs "lib" } } dependencies { implementation 'org.apache.commons:commons-lang3:3.13.0' // testCompile libs.mockito testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3' testImplementation 'org.junit.platform:junit-platform-launcher:1.9.3' testImplementation 'org.hamcrest:hamcrest:2.2' } test { useJUnitPlatform() } //ext.configDir = new File(projectDir, 'config') //ext.checkstyleConfigDir = "$configDir/checkstyle" //checkstyle { // toolVersion = '5.7' // configFile = checkstyleConfigFile // configProperties.put('basedir', checkstyleConfigDir) // ignoreFailures = false // showViolations = true //} // //publishing { // publications { // maven(MavenPublication) { // artifactId 'hirs-structs' // from components.java // } // } //}