Sublime Build System for Gradle

I want to have a custom build system, but I really can't create one. I have Gradle 1.2 installed and even GRADLE_HOME installed correctly, now I have the following rating in the system build file

{ "cmd": ["gradle","build.gradle"], "path": "$project" } 

And the error I get is as follows (when I try to create my project)

 [Errno 2] No such file or directory [cmd: [u'gradle', u'build.gradle']] [dir: /home/roger/Project/Visage/HelloWorld/src/main/visage/visage/javafx] [path: $project] [Finished] 

Actually my directory is Project Base HelloWorld , and I build.gradle myself there. Please help me write the correct build system or give the right commands to avoid errors and execute successfully. I am currently using UBUNTU 12.04

+7
source share
1 answer

I think you need to use a shell for your build system. and instead of the path, I think you mean "working_dir". you can try the following:

 { "cmd": ["gradle"], "shell": "true", "working_dir": "${project_path}" } 

amuses

Renee

+12
source

All Articles