File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/groovy/net/minecraftforge/gradleutils Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ import java.nio.file.Path
5050 this . projectName. convention(this . providers. provider { this . project. name })
5151 this . branch. convention(DEFAULT_BRANCH )
5252 this . localPath. convention(this . providers. provider { getRelativePath(rootDirectory, this . projectLayout. projectDirectory) })
53- this . gradleJavaVersion. convention(this . project. extensions. getByType (JavaPluginExtension ). toolchain. languageVersion. map { it. canCompileOrRun(DEFAULT_GRADLE_JAVA ) ? it. asInt() : DEFAULT_GRADLE_JAVA })
53+ this . gradleJavaVersion. convention(this . project. extensions. findByType (JavaPluginExtension )? . toolchain? . languageVersion? . map { it. canCompileOrRun(DEFAULT_GRADLE_JAVA ) ? it. asInt() : DEFAULT_GRADLE_JAVA } ?: providers . provider { DEFAULT_GRADLE_JAVA })
5454 this . sharedActionsBranch. convention(DEFAULT_SHARED_ACTIONS_BRANCH )
5555
5656 this . outputFile. convention(rootDirectory. dir(' .github/workflows' ). file(this . projectName. map { " publish_${ it} .yaml" }))
You can’t perform that action at this time.
0 commit comments