@@ -192,14 +192,21 @@ plugins {
192192 alias(libs.plugins.kotlin.jvm) apply false
193193 alias(libs.plugins.kotlin.kapt) apply false
194194}
195+
196+ allprojects {
197+ repositories {
198+ // Add Maven Central to the dependency repositories
199+ mavenCentral()
200+ }
201+ }
195202```
196203
197204``` kotlin
198205// settings.gradle.kts
199206
200207pluginManagement {
201208 repositories {
202- // Add the Maven Central repository
209+ // Add Maven Central to the plugin repositories
203210 mavenCentral()
204211 }
205212
@@ -255,14 +262,21 @@ plugins {
255262 // Add the plugin
256263 id(" io.objectbox" ) version " 5.2.0" apply false
257264}
265+
266+ allprojects {
267+ repositories {
268+ // Add Maven Central to the dependency repositories
269+ mavenCentral()
270+ }
271+ }
258272```
259273
260274``` kotlin
261275// settings.gradle.kts
262276
263277pluginManagement {
264278 repositories {
265- // Add the Maven Central repository
279+ // Add Maven Central to the plugin repositories
266280 mavenCentral()
267281 }
268282
@@ -288,8 +302,8 @@ buildscript {
288302 // Define a variable for the plugin version
289303 val objectboxVersion by extra(" 5.2.0" )
290304
291- repositories {
292- // Add the Maven Central repository
305+ repositories {
306+ // Add Maven Central to the plugin repositories
293307 mavenCentral()
294308 }
295309
@@ -298,6 +312,13 @@ buildscript {
298312 classpath(" io.objectbox:objectbox-gradle-plugin:$objectboxVersion " )
299313 }
300314}
315+
316+ allprojects {
317+ repositories {
318+ // Add Maven Central to the dependency repositories
319+ mavenCentral()
320+ }
321+ }
301322```
302323
303324</details >
@@ -312,7 +333,7 @@ buildscript {
312333 ext.objectboxVersion = "5.2.0"
313334
314335 repositories {
315- // Add the Maven Central repository
336+ // Add Maven Central to the plugin repositories
316337 mavenCentral()
317338 }
318339
@@ -321,6 +342,13 @@ buildscript {
321342 classpath("io.objectbox:objectbox-gradle-plugin:$objectboxVersion")
322343 }
323344}
345+
346+ allprojects {
347+ repositories {
348+ // Add Maven Central to the dependency repositories
349+ mavenCentral()
350+ }
351+ }
324352```
325353
326354</details >
0 commit comments