You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
State your question
So the way to import this plugin is explained using the old way with Gradle and classpath. Doing it the new way (Kotlin DSL and the plugins DSL) I cannot figure out how to get this plugin imported correctly.
I can however of course import the appsync sdk just fine com.amazonaws:aws-android-sdk-appsync:3.4.1 but just not the plugin.
Why? because I couldn't figure out what to do with the classpath step, I know that classpath is no longer used in the new gradle plugins system but what do I do with it do I just not use the plugin or what?
When I attempt to gradle sync and find this plugin, I get this result referring to my project's build.gradle.kts file:
Plugin [id: 'com.amazonaws', version: '3.4.1', apply: false] was not found in any of the following sources:
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.amazonaws', version: '3.4.1', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.amazonaws:com.amazonaws.gradle.plugin:3.4.1')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
maven(https://plugins.gradle.org/m2/)
Now of course the README of this project does not say that the plugin is called com.amazonaws:com.amazonaws.gradle.plugin, but instead it's called com.amazonaws:aws-android-sdk-appsync-gradle-plugin, but then how do I get it to be named that way if with this new system I cannot use the group name (aws-android-sdk-appsync-gradle-plugin) for plugins and just use the group id (com.amazonaws)?
I've also searched through https://plugins.gradle.org/m2/ and through Gradle Plugin Portal and I couldn't find any packages starting with com and then amazonaws... so what do I do?
Thanks!
The text was updated successfully, but these errors were encountered:
State your question
So the way to import this plugin is explained using the old way with Gradle and classpath. Doing it the new way (Kotlin DSL and the plugins DSL) I cannot figure out how to get this plugin imported correctly.
I can however of course import the appsync sdk just fine
com.amazonaws:aws-android-sdk-appsync:3.4.1
but just not the plugin.Why? because I couldn't figure out what to do with the
classpath
step, I know that classpath is no longer used in the new gradle plugins system but what do I do with it do I just not use the plugin or what?Provide code snippets (if applicable)
project's
build.gradle.kts
app module's
build.gradle.kts
libs.versions.toml
settings.gradle.kts
When I attempt to gradle sync and find this plugin, I get this result referring to my project's
build.gradle.kts
file:Now of course the README of this project does not say that the plugin is called
com.amazonaws:com.amazonaws.gradle.plugin
, but instead it's calledcom.amazonaws:aws-android-sdk-appsync-gradle-plugin
, but then how do I get it to be named that way if with this new system I cannot use the group name (aws-android-sdk-appsync-gradle-plugin
) for plugins and just use the group id (com.amazonaws
)?I've also searched through https://plugins.gradle.org/m2/ and through
Gradle Plugin Portal
and I couldn't find any packages starting withcom
and thenamazonaws
... so what do I do?Thanks!
The text was updated successfully, but these errors were encountered: