* add plugin resolution to gradle settings This is needed to make Android Studio able to link to the project * reflect codegen edit in the plugin example
@@ -1,2 +1,31 @@
+pluginManagement {
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+ google()
+ }
+ resolutionStrategy {
+ eachPlugin {
+ switch (requested.id.id) {
+ case "com.android.library":
+ useVersion("8.0.2")
+ break
+ case "org.jetbrains.kotlin.android":
+ useVersion("1.8.20")
+}
+
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
include ':tauri-android'
project(':tauri-android').projectDir = new File('./.tauri/tauri-api')