Gradle: Could not find property 'installDist' on task ':stage' -
i have build.gradle in root project looks this:
apply plugin: 'application' apply plugin: 'java' sourcecompatibility = 1.8 repositories { mavencentral() } allprojects { repositories { mavencentral() } dependencies { //....etc } } mainclassname = "com.website.main" task stage { dependson installdist println "running stage" } task wrapper(type: wrapper) { gradleversion = '2.7' //version required }
however when run gradle stage
get:
* went wrong: problem occurred evaluating root project 'root-module'. > not find property 'installdist' on task ':stage'.
the weird thing if run .\gradlew stage
works fine... why this?
Comments
Post a Comment