mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-21 01:32:03 +03:00
b4e16f3d8e
* 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
32 lines
723 B
Groovy
32 lines
723 B
Groovy
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")
|
|
break
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
|
|
}
|
|
}
|
|
|
|
include ':tauri-android'
|
|
project(':tauri-android').projectDir = new File('./.tauri/tauri-api')
|