Skip to content
Snippets Groups Projects
Commit 9c76c774 authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

Configure gradle java version in central root project

parent 171a3b65
No related branches found
No related tags found
No related merge requests found
...@@ -23,17 +23,24 @@ subprojects { ...@@ -23,17 +23,24 @@ subprojects {
apply plugin: 'com.github.spotbugs' apply plugin: 'com.github.spotbugs'
} }
// Local plugins
apply plugin: 'java-library' apply plugin: 'java-library'
sourceCompatibility = "1.11" // Java version for all subprojects
targetCompatibility = "1.11" subprojects {
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
configurations.all { configurations.all {
// Check for updates every build // Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
} }
//
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
......
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
dependencies { dependencies {
compile project(':') compile project(':')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment