Use gradle Java plugin configuration block
Java direct convention use deprecated: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#java_convention_deprecation
This commit is contained in:
committed by
Dave Syer
parent
6508cfb05f
commit
3efd6e0f03
@@ -15,7 +15,10 @@ gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTe
|
||||
|
||||
group = 'org.springframework.samples'
|
||||
version = '3.2.0'
|
||||
sourceCompatibility = '17'
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
Reference in New Issue
Block a user