apply plugin: 'java' apply plugin: 'eclipse' /* * The shared configuration for all sub-projects: */ subprojects { apply plugin: 'java' apply plugin: 'eclipse' // java compatibility version sourceCompatibility = 1.8 configurations { tests } // the repositories for external depenencies repositories { maven { url 'http://repo.lucares.de/' } mavenCentral() jcenter() } // In this example we use TestNG as our testing tool. JUnit is the default. test{ useTestNG() //testLogging.showStandardStreams = true } // dependencies that all sub-projects have dependencies { testCompile group: 'org.testng', name: 'testng', version: '6.13.1' } } task wrapper(type: Wrapper) { gradleVersion = '4.4' }