-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Hi
I am trying to configure the android plugin on my project (it uses toml).
Unfortunately getting this error:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.mparticle', version: '5.49.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.mparticle:com.mparticle.gradle.plugin:5.49.1')
Searched in the following repositories:
Gradle Central Plugin Repository
Google
MavenRepo
....
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.mparticle.android-plugin', version: '5.49.1', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.mparticle.android-plugin:com.mparticle.android-plugin.gradle.plugin:5.49.1')
Here is how my code looks like:
toml file
[versions]
mparticle = "5.49.1"
[plugins]
mparticle = { id = "com.mparticle.android-plugin", version.ref = "mparticle"}
project root gradle file:
plugins {
...
alias(libs.plugins.mparticle)
}
app gradle file:
plugins {
...
alias(libs.plugins.mparticle)
// id("com.mparticle") //this one aslo not wokring
}
i was able to apply it to the sample app 'higgs-shop-sample-app' , the only difference is that my app is using toml
brian-plummer-okcupid
Metadata
Metadata
Assignees
Labels
No labels