Browse Source

maven 编译改为 21

cherishsince 1 year ago
parent
commit
c71b8b3c0b
2 changed files with 4 additions and 4 deletions
  1. 2 2
      yudao-module-ai/pom.xml
  2. 2 2
      yudao-module-ai/yudao-spring-boot-starter-ai/pom.xml

+ 2 - 2
yudao-module-ai/pom.xml

@@ -18,8 +18,8 @@
     </modules>
 
     <properties>
-        <maven.compiler.source>8</maven.compiler.source>
-        <maven.compiler.target>8</maven.compiler.target>
+        <maven.compiler.source>21</maven.compiler.source>
+        <maven.compiler.target>21</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 

+ 2 - 2
yudao-module-ai/yudao-spring-boot-starter-ai/pom.xml

@@ -12,8 +12,8 @@
     <artifactId>yudao-spring-boot-starter-ai</artifactId>
 
     <properties>
-        <maven.compiler.source>8</maven.compiler.source>
-        <maven.compiler.target>8</maven.compiler.target>
+        <maven.compiler.source>21</maven.compiler.source>
+        <maven.compiler.target>21</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
     <dependencies>