skrugly / mirakle

Gradle plugin to move build process to remote machine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirakle uses project name to determine remote folder, not folder name

Mishkun opened this issue · comments

Problem:
If project name specified in settings.gradle like

rootProject.name = 'myproject'

mirakle fails to execute on remote with breaking on tasks enabled.

Solution:
Actual problem is with the line https://github.com/Adambl4/mirakle/blob/development/plugin/src/main/kotlin/Mirakle.kt#L111.
It takes project name instead of project directory name. rsync doesn't know anything about project, just the directory name.

Please check your a configuaration
`mirakle {
host "true-remote"

//optional
remoteFolder ".mirakle"

}`
You have to change "remouteFolder"

Thanks for reporting, this should be fixed in io.github.adambl4:mirakle:1.5.0-RC-2
Could you try it out and reopen the issue in case it dosen't work.