| 
									
										
										
										
											2013-12-27 16:35:19 +08:00
										 |  |  | buildscript { | 
					
						
							|  |  |  | 	ext { | 
					
						
							|  |  |  | 		springBootVersion = '1.0.0.BUILD-SNAPSHOT' | 
					
						
							|  |  |  | 		springLoadedVersion = '1.1.5.RELEASE' | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2014-02-19 13:57:47 +08:00
										 |  |  | 	repositories { | 
					
						
							|  |  |  | 		mavenLocal() | 
					
						
							| 
									
										
										
										
											2014-03-04 21:15:41 +08:00
										 |  |  | 		maven { url "http://repo.spring.io/libs-snapshot" } | 
					
						
							| 
									
										
										
										
											2014-02-19 13:57:47 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | 	dependencies { | 
					
						
							|  |  |  | 		classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") | 
					
						
							|  |  |  | 		classpath("org.springsource.loaded:springloaded:${springLoadedVersion}") | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-12-27 16:35:19 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | apply plugin: 'java' | 
					
						
							|  |  |  | apply plugin: 'eclipse' | 
					
						
							|  |  |  | apply plugin: 'idea' | 
					
						
							|  |  |  | apply plugin: 'spring-boot' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | mainClassName = "sample.ui.SampleWebUiApplication" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | jar { | 
					
						
							| 
									
										
										
										
											2014-03-18 17:29:35 +08:00
										 |  |  | 	baseName = 'spring-boot-sample-web-ui' | 
					
						
							| 
									
										
										
										
											2014-03-20 07:50:55 +08:00
										 |  |  | 	version =  '0.0.0' | 
					
						
							| 
									
										
										
										
											2013-12-27 16:35:19 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | repositories { | 
					
						
							| 
									
										
										
										
											2014-02-19 13:57:47 +08:00
										 |  |  | 	mavenCentral() | 
					
						
							| 
									
										
										
										
											2014-03-04 21:15:41 +08:00
										 |  |  | 	maven { url "http://repo.spring.io/libs-snapshot" } | 
					
						
							| 
									
										
										
										
											2013-12-27 16:35:19 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dependencies { | 
					
						
							| 
									
										
										
										
											2014-02-19 13:57:47 +08:00
										 |  |  | 	compile("org.springframework.boot:spring-boot-starter-thymeleaf") | 
					
						
							|  |  |  | 	compile("org.hibernate:hibernate-validator") | 
					
						
							|  |  |  | 	testCompile("org.springframework.boot:spring-boot-starter-test") | 
					
						
							| 
									
										
										
										
											2013-12-27 16:35:19 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-19 13:57:47 +08:00
										 |  |  | task wrapper(type: Wrapper) { gradleVersion = '1.6' } |