1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 19:09:03 +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" group = "net.sourceforge.plantuml"
description = "PlantUML" description = "PlantUML"
java.sourceCompatibility = JavaVersion.VERSION_1_7 java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
java { java {
withSourcesJar() withSourcesJar()

View File

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