Skip to content

org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'io.objectbox.objectbox-gradle-plugin', version: '5.0.1', apply: false] #1221

@Morons

Description

@Morons

PLEASE FIX

Not a good start!

Gradle version used: gradle-8.14.3-all

[versions]
agp = "8.13.0"
kotlin-android = "2.2.21"
objectbox = "5.0.1"
[libraries]
# ObjectBox
objectbox-kotlin = { group = "io.objectbox", name = "objectbox-kotlin", version.ref = "objectbox" }
[plugins]
objectboxPlugin = { id = "io.objectbox.objectbox-gradle-plugin", version.ref = "objectbox" }

settings.gradle.kts (project)

pluginManagement {
	repositories {
		google()
		mavenCentral()
		gradlePluginPortal()
	}
}
dependencyResolutionManagement {
	repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
	repositories {
		google()
		mavenCentral()
	}
}

build.gradle.kts (project)

plugins {
# some other ...
alias(libs.plugins.objectboxPlugin) apply false

build.gradle.kts (:app)

plugins {
# some other ...
alias(libs.plugins.objectboxPlugin)
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'io.objectbox.objectbox-gradle-plugin', version: '5.0.1', apply: false] was not found in any of the following sources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions