{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3442","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3442/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3442/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3442/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3442","id":150365573,"number":3442,"title":"Could not find property 'GulpTask' on root project 'xxx'","user":{"login":"trajakovic","id":634401,"avatar_url":"https://avatars.githubusercontent.com/u/634401?v=3","gravatar_id":"","url":"https://api.github.com/users/trajakovic","html_url":"https://github.com/trajakovic","followers_url":"https://api.github.com/users/trajakovic/followers","following_url":"https://api.github.com/users/trajakovic/following{/other_user}","gists_url":"https://api.github.com/users/trajakovic/gists{/gist_id}","starred_url":"https://api.github.com/users/trajakovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trajakovic/subscriptions","organizations_url":"https://api.github.com/users/trajakovic/orgs","repos_url":"https://api.github.com/users/trajakovic/repos","events_url":"https://api.github.com/users/trajakovic/events{/privacy}","received_events_url":"https://api.github.com/users/trajakovic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/gradle","name":"gradle","color":"bfe5bf"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/major","name":"major","color":"5319e7"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/microservice","name":"microservice","color":"507889"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-22T13:09:27Z","updated_at":"2016-04-24T11:37:31Z","closed_at":"2016-04-23T02:10:30Z","body":"<!--\r\n> Please follow the issue template below for bug reports and quiries.\r\n> Bug reports or quiries opened without any of these info will be **closed** without any explanation.\r\n> For feature requests, label the title with [FEATURE] and explain your use case and ideas clearly below, you can remove sections which are not relevant.\r\n> For bug reports your `.yo-rc.json` file is mandatory else we will close the issue.\r\n-->\r\n\r\n##### **Overview of the issue**\r\n\r\nGradle build fails for jhipster microservice application. Reason:\r\n\r\n```\r\n* Where:\r\nScript '<cut>/xxxxx/gradle/profile_dev.gradle' line: 28\r\n\r\n* What went wrong:\r\nA problem occurred evaluating script.\r\n> Could not find property 'GulpTask' on root project 'xxxxx'.\r\n```\r\n\r\n\r\n\r\n##### **Motivation for or Use Case** \r\n\r\nSince you cannot run gradle build (even gradle clean), it's obviously blocker type of error.\r\n\r\n##### **JHipster Version(s)** \r\n\r\nJHipster Generator v3.1.0\r\n\r\n##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder** \r\n\r\n```\r\n{\r\n  \"generator-jhipster\": {\r\n    \"jhipsterVersion\": \"3.1.0\",\r\n    \"baseName\": \"jhipsteruservice1\",\r\n    \"packageName\": \"com.mycompany.myapp\",\r\n    \"packageFolder\": \"com/mycompany/myapp\",\r\n    \"serverPort\": \"10001\",\r\n    \"authenticationType\": \"jwt\",\r\n    \"hibernateCache\": \"no\",\r\n    \"databaseType\": \"no\",\r\n    \"devDatabaseType\": \"no\",\r\n    \"prodDatabaseType\": \"no\",\r\n    \"searchEngine\": \"no\",\r\n    \"buildTool\": \"gradle\",\r\n    \"jwtSecretKey\": \"<cut>\",\r\n    \"enableTranslation\": false,\r\n    \"applicationType\": \"microservice\",\r\n    \"testFrameworks\": [],\r\n    \"jhiPrefix\": \"jhi\",\r\n    \"skipClient\": true,\r\n    \"skipUserManagement\": true,\r\n    \"clusteredHttpSession\": \"no\",\r\n    \"websocket\": \"no\",\r\n    \"enableSocialSignIn\": false\r\n  }\r\n}\r\n```\r\n\r\n##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory** \r\n\r\nNo entity generated\r\n\r\n##### **Browsers and Operating System** \r\n\r\n<!-- What OS are you on? is this a problem with all browsers or only IE8? -->\r\n\r\ncat /etc/*-release:\r\nFedora release 23 (Twenty Three)\r\nNAME=Fedora\r\nVERSION=\"23 (Twenty Three)\"\r\nID=fedora\r\nVERSION_ID=23\r\nPRETTY_NAME=\"Fedora 23 (Twenty Three)\"\r\nANSI_COLOR=\"0;34\"\r\nCPE_NAME=\"cpe:/o:fedoraproject:fedora:23\"\r\nHOME_URL=\"https://fedoraproject.org/\"\r\nBUG_REPORT_URL=\"https://bugzilla.redhat.com/\"\r\nREDHAT_BUGZILLA_PRODUCT=\"Fedora\"\r\nREDHAT_BUGZILLA_PRODUCT_VERSION=23\r\nREDHAT_SUPPORT_PRODUCT=\"Fedora\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=23\r\nPRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy\r\nFedora release 23 (Twenty Three)\r\nFedora release 23 (Twenty Three)\r\n\r\n\r\nBrowser not involved here\r\n\r\n\r\n\r\nSteps:\r\n\r\n* yo jhipster\r\n* Selections:\r\n * 1/16 Microservice application\r\n * 2/16 jhipster\r\n * 3/16 10001\r\n * 4/16 com.mycompany.myapp\r\n * 5/16 No database\r\n * 6/16 Gradle\r\n * 7/16 n\r\n * 8/16 deselect all\r\n\r\n* after generated code run:\r\n * ./gradlew clean\r\n\r\nwhich generates error described above\r\n\r\n##### **Related issues** \r\n\r\n#3438 has addressed this issue\r\n\r\n\r\n\r\n##### **Suggest a Fix** \r\n\r\nSince I'm not aware of full jhipster generation process, I cannot provide 100% correct suggestion, but i guess that, since it's uService generator, you don't need Gulp part so fix would be or delete gulpConstantDev task on line 28 together with line 46 (gradle/profile_dev.gradle) or to apply proper gulp plugin if it's needed for overall.\r\n\r\n\r\nThx"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/213945910","html_url":"https://github.com/jhipster/generator-jhipster/issues/3442#issuecomment-213945910","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3442","id":213945910,"user":{"login":"atomfrede","id":203401,"avatar_url":"https://avatars.githubusercontent.com/u/203401?v=3","gravatar_id":"","url":"https://api.github.com/users/atomfrede","html_url":"https://github.com/atomfrede","followers_url":"https://api.github.com/users/atomfrede/followers","following_url":"https://api.github.com/users/atomfrede/following{/other_user}","gists_url":"https://api.github.com/users/atomfrede/gists{/gist_id}","starred_url":"https://api.github.com/users/atomfrede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomfrede/subscriptions","organizations_url":"https://api.github.com/users/atomfrede/orgs","repos_url":"https://api.github.com/users/atomfrede/repos","events_url":"https://api.github.com/users/atomfrede/events{/privacy}","received_events_url":"https://api.github.com/users/atomfrede/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T11:37:31Z","updated_at":"2016-04-24T11:37:31Z","body":"@xjiaoyang It is fixed in latest master. Gulp Task is only added to ``profile_dev.gradle`` if ``skipClient`` equals `` false``."}}