diff --git a/tomcat-base/build.gradle b/tomcat-base/build.gradle index 16627442..48fce9fb 100644 --- a/tomcat-base/build.gradle +++ b/tomcat-base/build.gradle @@ -21,8 +21,8 @@ subprojects { java { withJavadocJar() withSourcesJar() - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 // Caused by: java.lang.UnsupportedClassVersionError: org/springframework/web/SpringServletContainerInitializer has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class [org.springframework.web.SpringServletContainerInitializer])\ // if (tomcatVersion.contains("10")){ // sourceCompatibility = JavaVersion.VERSION_17 diff --git a/tomcat-base/tomcat-embedded-10/overload.gradle b/tomcat-base/tomcat-embedded-10/overload.gradle index aaa80825..85b9c9d9 100644 --- a/tomcat-base/tomcat-embedded-10/overload.gradle +++ b/tomcat-base/tomcat-embedded-10/overload.gradle @@ -2,10 +2,4 @@ ext { tomcat = [ version: '10.1.23' ] -} - -sonarqube { - properties { - property 'sonar.projectBaseDir', "$project.parent.projectDir/src/shared/" - } } \ No newline at end of file