Skip to content

Commit

Permalink
chore: restore formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Sep 6, 2024
1 parent eff6e7d commit 25f5448
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,11 @@
// not using project.properties, see https://github.com/groovy/GMavenPlus/issues/72
def javaVersion = getProjectProp("java.version")
def javaMajorVersion = Integer.parseInt(javaVersion.indexOf(".") > -1 ? javaVersion.substring(0, javaVersion.indexOf(".")) : javaVersion)
def ecjVersion = javaMajorVersion < 17 ? "3.33.0" : project.properties["eclipse-java-compiler.version"] /* * loading/locating eclipse Java compiler artifact
def ecjVersion = javaMajorVersion < 17 ? "3.33.0" : project.properties["eclipse-java-compiler.version"]
/*
* loading/locating eclipse Java compiler artifact
*/
def ecjArtifactMeta = artifactFactory.createArtifactWithClassifier("org.eclipse.jdt", "ecj", ecjVersion, "jar", null)
def ecjArtifact = artifactResolver.resolve(new org.apache.maven.artifact.resolver.ArtifactResolutionRequest()
Expand All @@ -279,6 +283,7 @@
).artifacts[0]
setProjectProp("custom.ecjJarPath", ecjArtifact.file.absolutePath)
/*
* determine bootclasspath for compilation of src/main/java
*/
Expand Down

0 comments on commit 25f5448

Please sign in to comment.