File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
src/main/groovy/io/spring/gradle/convention Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
5
5
id ' com.apollographql.apollo' version ' 2.4.5'
6
6
}
7
7
8
- sourceCompatibility = JavaVersion . VERSION_11
8
+ sourceCompatibility = JavaVersion . VERSION_17
9
9
10
10
repositories {
11
11
gradlePluginPortal()
Original file line number Diff line number Diff line change 14
14
* the License.
15
15
*/
16
16
17
- package io.spring.gradle.convention ;
17
+ package io.spring.gradle.convention
18
18
19
+ import org.gradle.api.JavaVersion ;
19
20
import org.gradle.api.Project
20
21
import org.gradle.api.plugins.JavaLibraryPlugin ;
21
22
import org.gradle.api.plugins.MavenPlugin ;
@@ -40,6 +41,7 @@ class SpringModulePlugin extends AbstractSpringJavaPlugin {
40
41
if (! Utils . isRelease(project)) {
41
42
deployArtifacts. dependsOn project. tasks. artifactoryPublish
42
43
}
44
+ project. java. sourceCompatibility = JavaVersion . VERSION_17
43
45
}
44
46
45
47
}
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
2
apply plugin : ' org.springframework.optional'
3
3
4
+ sourceCompatibility = ' 17'
5
+ targetCompatibility = ' 17'
6
+
4
7
ext. apacheDsVersion = ' 1.5.5'
5
8
ext. springVersion = ' 6.0.0-SNAPSHOT'
6
9
ext. springDataVersion = ' 3.0.0-SNAPSHOT'
You can’t perform that action at this time.
0 commit comments