* Gradle tutorial project : 1. A multi-project build 2. Inclusive all required tasks and dependency example. * Gradle tutorial is shifted to gradle folder
		
			
				
	
	
		
			36 lines
		
	
	
		
			677 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			677 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| allprojects {
 | |
|     repositories {
 | |
|         jcenter() 
 | |
|     }
 | |
| }
 | |
| 
 | |
| 
 | |
| subprojects {
 | |
| 
 | |
|     version = '1.0'
 | |
| }
 | |
| 
 | |
| apply plugin: 'eclipse'
 | |
| 
 | |
| println 'This will be executed during the configuration phase.'
 | |
| 
 | |
| task configured {
 | |
|     println 'This will also be executed during the configuration phase.'
 | |
| }
 | |
| 
 | |
| task execFirstTest {
 | |
|     doLast {
 | |
|         println 'This will be executed during the execution phase.'
 | |
|     }
 | |
| }
 | |
| 
 | |
| task execSecondTest {
 | |
|     doFirst {
 | |
|       println 'This will be executed first during the execution phase.'
 | |
|     }
 | |
|     doLast {
 | |
|       println 'This will be executed last during the execution phase.'
 | |
|     }
 | |
|     println 'This will be executed during the configuration phase as well.'
 | |
| }
 |