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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -