1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

source code java8 compatible

This commit is contained in:
soloturn 2022-02-03 23:35:09 +01:00
parent 7ea36d5090
commit 5476a75602
2 changed files with 4 additions and 5 deletions

View File

@ -18,7 +18,8 @@ dependencies {
group = "net.sourceforge.plantuml"
description = "PlantUML"
java.sourceCompatibility = JavaVersion.VERSION_1_7
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
java {
withSourcesJar()

View File

@ -56,10 +56,8 @@
</parent>
<properties>
<finalName>${project.artifactId}-${project.version}</finalName>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.testSource>1.8</maven.compiler.testSource>
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<main.class>net.sourceforge.plantuml.Run</main.class>
</properties>
<dependencyManagement>