krtko
05/11/2020, 1:54 AMplugins
system and for some reason the Android plugin needs me to add
pluginManagement {
repositories {
gradlePluginPortal()
jcenter()
google()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith("com.android")) {
useModule("com.android.tools.build:gradle:${requested.version}")
}
}
}
}
to my settings.gradle
fileandrewreitz
05/11/2020, 2:02 AMgildor
05/11/2020, 2:10 AMgildor
05/11/2020, 2:11 AMandrewreitz
05/11/2020, 2:17 AMgildor
05/11/2020, 2:22 AMresolutionStrategy
, only custom repo would be required
pluginManagement {
repositories {
google()
}
}
itnoles
05/11/2020, 3:11 AMgildor
05/11/2020, 3:20 AMgildor
05/11/2020, 3:21 AMkrtko
05/11/2020, 5:22 AMkrtko
05/11/2020, 5:22 AM