diff options
-rw-r--r-- | build.gradle | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 3f3a9094..b17e9902 100644 --- a/build.gradle +++ b/build.gradle @@ -52,6 +52,12 @@ task npmCompile(type: Exec) { } } +java { + toolchain { + languageVersion = JavaLanguageVersion.of(15) + } +} + ext { swaggerOutputDir = file("${buildDir}/swagger") docsOutputDir = file("${buildDir}/docs") @@ -187,6 +193,3 @@ bootRun { npmCompile.dependsOn 'npmInstall' processResources.dependsOn 'npmCompile' - -sourceCompatibility = JavaVersion.VERSION_15 -targetCompatibility = JavaVersion.VERSION_15 |