apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'com.github.ben-manes.versions' buildscript { repositories { jcenter() } dependencies { // usage: gradle dependencyUpdates -Drevision=release classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0' } } /* * The shared configuration for all sub-projects: */ subprojects { apply plugin: 'java' apply plugin: 'eclipse' // java compatibility version sourceCompatibility = 10 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.14.3' } } task wrapper(type: Wrapper) { gradleVersion = '4.10.1' }