Skip to content

Commit

Permalink
configure the mountSource consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
pschichtel committed Jul 6, 2024
1 parent 300fba8 commit 1379832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fun DockcrossRunTask.baseConfigure(linkMode: NativeLinkMode, outputTo: Directory
inputs.dir(project.rootProject.layout.projectDirectory.dir("core/src/include"))
inputs.dir(project.layout.projectDirectory.dir("src/main/c"))
inputs.dir(jniGluePath)
mountSource = project.rootProject.layout.projectDirectory.asFile

dependsOn(tasks.compileJava)

Expand Down Expand Up @@ -130,7 +131,6 @@ for (target in targets) {
val compileNative = tasks.register("compileNativeFor$taskSuffix", DockcrossRunTask::class) {
baseConfigure(linkMode, buildOutputDir.get())

mountSource = project.rootProject.layout.projectDirectory.asFile
dockcrossRepository = repo
dockcrossTag = tag
image = dockcrossImage
Expand Down

0 comments on commit 1379832

Please sign in to comment.