Skip to content

Commit

Permalink
fix issue #95: Stackoverflow on Java 12 with Gradle 6.0 RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
siordache committed Oct 20, 2019
1 parent a9eb419 commit b0df250
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/groovy/org/beryx/jlink/JlinkTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class JlinkTask extends BaseTask {
taskImpl.execute()
}

@OutputDirectory @PathSensitive(PathSensitivity.RELATIVE)
@OutputDirectory
File getImageDirAsFile() {
imageName ? imageDirFromName : imageDir.asFile
}
Expand Down
9 changes: 2 additions & 7 deletions src/main/groovy/org/beryx/jlink/data/JPackageData.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class JPackageData {
@Input
List<String> imageOptions = []

@Input @Optional
@InputDirectory @Optional
File resourceDir

@Input @Optional
Expand Down Expand Up @@ -84,19 +84,14 @@ class JPackageData {
this.@installerName ?: launcherData.name ?: project.name
}

@InputDirectory
File getResourceDir() {
this.@resourceDir
}

@Input
String getLauncherName() {
launcherData.name
}

@Input
List<SecondaryLauncherData> getSecondaryLaunchers() {
secondaryLaunchers
this.@secondaryLaunchers
}

void addSecondaryLauncher(SecondaryLauncherData launcher) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.gradle.api.provider.Provider
import static org.beryx.jlink.util.Util.EXEC_EXTENSION

@CompileStatic
@ToString(includeNames = true)
class JlinkPluginExtension {
final Property<String> jlinkBasePath
final Property<String> imageName
Expand Down

0 comments on commit b0df250

Please sign in to comment.