| 1 | pluginManagement { |
| 2 | repositories { |
| 3 | mavenCentral() |
| 4 | gradlePluginPortal() |
| 5 | google() |
| 6 | } |
| 7 | resolutionStrategy { |
| 8 | eachPlugin { |
| 9 | switch (requested.id.id) { |
| 10 | case "com.android.library": |
| 11 | useVersion("8.0.2") |
| 12 | break |
| 13 | case "org.jetbrains.kotlin.android": |
| 14 | useVersion("1.8.20") |
| 15 | break |
| 16 | } |
| 17 | } |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | dependencyResolutionManagement { |
| 22 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) |
| 23 | repositories { |
| 24 | mavenCentral() |
| 25 | google() |
| 26 | |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | include ':tauri-android' |
| 31 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') |