You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			Kotlin
		
	
			
		
		
	
	
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			Kotlin
		
	
| allprojects {
 | |
|     repositories {
 | |
|         google()
 | |
|         mavenCentral()
 | |
|     }
 | |
| }
 | |
| 
 | |
| val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
 | |
| rootProject.layout.buildDirectory.value(newBuildDir)
 | |
| 
 | |
| subprojects {
 | |
|     val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
 | |
|     project.layout.buildDirectory.value(newSubprojectBuildDir)
 | |
| }
 | |
| subprojects {
 | |
|     project.evaluationDependsOn(":app")
 | |
| }
 | |
| 
 | |
| tasks.register<Delete>("clean") {
 | |
|     delete(rootProject.layout.buildDirectory)
 | |
| }
 |