基础组件库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
484 B

  1. include ':app'
  2. def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
  3. def plugins = new Properties()
  4. def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
  5. if (pluginsFile.exists()) {
  6. pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
  7. }
  8. plugins.each { name, path ->
  9. def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
  10. include ":$name"
  11. project(":$name").projectDir = pluginDirectory
  12. }