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

Configure gradle java version in central root project

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