{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2838","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2838/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2838/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2838/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2838","id":69087832,"number":2838,"title":"apply plugin: 'org.springframework.boot.spring-boot' should be apply plugin: 'spring-boot' ?","user":{"login":"xing-kenny","id":769551,"avatar_url":"https://avatars.githubusercontent.com/u/769551?v=3","gravatar_id":"","url":"https://api.github.com/users/xing-kenny","html_url":"https://github.com/xing-kenny","followers_url":"https://api.github.com/users/xing-kenny/followers","following_url":"https://api.github.com/users/xing-kenny/following{/other_user}","gists_url":"https://api.github.com/users/xing-kenny/gists{/gist_id}","starred_url":"https://api.github.com/users/xing-kenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xing-kenny/subscriptions","organizations_url":"https://api.github.com/users/xing-kenny/orgs","repos_url":"https://api.github.com/users/xing-kenny/repos","events_url":"https://api.github.com/users/xing-kenny/events{/privacy}","received_events_url":"https://api.github.com/users/xing-kenny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T07:39:43Z","updated_at":"2015-04-17T07:46:08Z","closed_at":"2015-04-17T07:46:08Z","body":"In 13.2 Gradle\r\n \r\n\tbuildscript {\r\n\t\trepositories { jcenter() }\r\n\t\tdependencies {\r\n\t\t\tclasspath(\"org.springframework.boot:spring-boot-gradle-plugin:1.3.0.BUILD-SNAPSHOT\")\r\n\t\t}\r\n\t}\r\n\r\n\tapply plugin: 'java'\r\n\tapply plugin: 'org.springframework.boot.spring-boot'\r\n\r\n\trepositories { jcenter() }\r\n\tdependencies {\r\n\t\tcompile(\"org.springframework.boot:spring-boot-starter-web\")\r\n\t\ttestCompile(\"org.springframework.boot:spring-boot-starter-test\")\r\n\t}\r\n\r\nthe result as following\r\n\r\n\tE:\\gitrepo\\sf4\\myproject>gradle\r\n\r\n\tFAILURE: Build failed with an exception.\r\n\r\n\t* Where:\r\n\tBuild file 'E:\\gitrepo\\sf4\\myproject\\build.gradle' line: 11\r\n\r\n\t* What went wrong:\r\n\tA problem occurred evaluating root project 'myproject'.\r\n\t> Failed to apply plugin [id 'org.springframework.boot.spring-boot']\r\n\t   > Plugin with id 'org.springframework.boot.spring-boot' not found.\r\n\r\n\t* Try:\r\n\tRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n\tBUILD FAILED\r\n\r\n\tTotal time: 13.488 secs\r\n\r\nand change to \r\n    apply plugin: 'spring-boot'\r\n\r\nit OK.\r\n\r\n\r\n"}}