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' } } ext { lib_antlr = "org.antlr:antlr4:4.7.1" lib_commons_collections4 = 'org.apache.commons:commons-collections4:4.2' lib_commons_lang3 = 'org.apache.commons:commons-lang3:3.8.1' lib_guava = 'com.google.guava:guava:27.0.1-jre' lib_jackson_databind = 'com.fasterxml.jackson.core:jackson-databind:2.9.7' lib_log4j2_api = 'org.apache.logging.log4j:log4j-api:2.11.1' lib_log4j2_core = 'org.apache.logging.log4j:log4j-core:2.11.1' lib_log4j2_slf4j_impl = 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.1' lib_primitive_collections='org.lucares:primitiveCollections:0.1.20181120195412' lib_spring_boot_log4j2='org.springframework.boot:spring-boot-starter-log4j2:2.1.0.RELEASE' lib_spring_boot_mustache='org.springframework.boot:spring-boot-starter-mustache:2.1.0.RELEASE' lib_spring_boot_test='org.springframework.boot:spring-boot-starter-test:2.1.0.RELEASE' lib_spring_boot_web='org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE' } /* * The shared configuration for all sub-projects: */ subprojects { apply plugin: 'java' apply plugin: 'eclipse' // java compatibility version sourceCompatibility = 11 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.2' }