We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83574f8 commit 07e05d1Copy full SHA for 07e05d1
buildSrc/src/main/groovy/io/spring/gradle/convention/SpringModulePlugin.groovy
@@ -14,8 +14,9 @@
14
* the License.
15
*/
16
17
-package io.spring.gradle.convention;
+package io.spring.gradle.convention
18
19
+import org.gradle.api.JavaVersion;
20
import org.gradle.api.Project
21
import org.gradle.api.plugins.JavaLibraryPlugin;
22
import org.gradle.api.plugins.MavenPlugin;
@@ -40,6 +41,9 @@ class SpringModulePlugin extends AbstractSpringJavaPlugin {
40
41
if (!Utils.isRelease(project)) {
42
deployArtifacts.dependsOn project.tasks.artifactoryPublish
43
}
44
+
45
+ project.java.sourceCompatibility = JavaVersion.VERSION_1_8;
46
+ project.java.targetCompatibility = JavaVersion.VERSION_1_8;
47
48
49
0 commit comments