0.2.0-dev Download ZIP
25 lines ·677 B Raw
| 1 | plugins { |
| 2 | id 'com.android.fused-library' |
| 3 | } |
| 4 | |
| 5 | androidFusedLibrary { |
| 6 | namespace = 'com.godot.game.fuseddeps' |
| 7 | minSdk = versions.minSdk |
| 8 | } |
| 9 | |
| 10 | dependencies { |
| 11 | include project(":dataLib") |
| 12 | |
| 13 | // Godot user plugins remote dependencies |
| 14 | String[] remoteDeps = getGodotPluginsRemoteBinaries() |
| 15 | if (remoteDeps != null && remoteDeps.size() > 0) { |
| 16 | def platformPattern = /^\s*(platform|enforcedPlatform)\s*\(\s*['"]*(\S+)['"]*\s*\)$/ |
| 17 | for (String dep : remoteDeps) { |
| 18 | def matcher = dep =~ platformPattern |
| 19 | if (!matcher) { |
| 20 | logger.lifecycle("Including dep $dep") |
| 21 | include dep |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | } |