mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 09:26:44 +00:00
trying Java compatibility with tasks.withType(JavaCompile) in build.gradle
This commit is contained in:
+4
-3
@@ -15,7 +15,8 @@ allprojects {
|
||||
mavenCentral()
|
||||
}
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
apply plugin: 'java'
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
tasks.withType(JavaCompile) {
|
||||
sourceCompatibility = "1.7"
|
||||
targetCompatibility = "1.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user