mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			484 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			484 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| include ':app'
 | |
| 
 | |
| def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
 | |
| 
 | |
| def plugins = new Properties()
 | |
| def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
 | |
| if (pluginsFile.exists()) {
 | |
|     pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
 | |
| }
 | |
| 
 | |
| plugins.each { name, path ->
 | |
|     def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
 | |
|     include ":$name"
 | |
|     project(":$name").projectDir = pluginDirectory
 | |
| }
 | 
