Closed jtn-devecto closed 2 years ago
This is preventing us from adopting Gradle 7. Is there any timeline on resolving this issue that seems to stem from the usage of Apollo?
using com.amazonaws:aws-android-sdk-appsync:3.1.4
and com.amazonaws:aws-android-sdk-core:2.23.0
with gradle distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
.
Having the same problem that stops us from adopting Gradle 7.0. Any ETA for a fix would be great.
Having this issue as well.
Gradle 7.1 was released today and AWS AppSync plugin still faces this issue
Hi, I have same issue: "Some problems were found with the configuration of task ':app:generateBfanteamQaApolloIR' (type 'ApolloIRGenTask').
My Config: compileSdkVersion 30 buildToolsVersion '30.0.3'
classpath 'com.android.tools.build:gradle:7.0.0' classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.1.4'
Keen on seeing a fix for this so we can update to the latest AS plugin
Waiting for a fix to be able to use Gradle 7.++
I'm struggling with the same issue. I've downgraded gradle version to 4.2.2 (jsut to verify if it will help) - no luck. Still getting this error :/
Here's my build.gradle :
buildscript {
repositories {
google()
mavenCentral()
maven {url "https://plugins.gradle.org/m2/"}
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven {url "https://plugins.gradle.org/m2/"}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
And here's the error:
Some problems were found with the configuration of task ':app:generateDebugApolloIR' (type 'ApolloIRGenTask').
- Type 'com.apollographql.apollo.gradle.ApolloIRGenTask' field 'extension' without corresponding getter has been annotated with @Internal.
Nope, same error as described above :
Some problems were found with the configuration of task ':app:generateDebugApolloIR' (type 'ApolloIRGenTask').
- Type 'com.apollographql.apollo.gradle.ApolloIRGenTask' field 'extension' without corresponding getter has been annotated with @Internal.
Hi all,
I still get the error. Has anyone a solution?
implementation 'com.amazonaws:aws-android-sdk-core:2.40.0'
implementation 'com.amazonaws:aws-android-sdk-appsync:3.3.0'
implementation 'com.amazonaws:aws-android-sdk-s3:2.40.0'
implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.40.0@aar') { transitive = true }
implementation ('com.amazonaws:aws-android-sdk-auth-userpools:2.40.0@aar') { transitive = true }
implementation 'com.amplifyframework:core:1.31.3'
implementation 'com.amplifyframework:aws-storage-s3:1.31.3'
Hi all,
I still get the error. Has anyone a solution?
implementation 'com.amazonaws:aws-android-sdk-core:2.40.0' implementation 'com.amazonaws:aws-android-sdk-appsync:3.3.0' implementation 'com.amazonaws:aws-android-sdk-s3:2.40.0' implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.40.0@aar') { transitive = true } implementation ('com.amazonaws:aws-android-sdk-auth-userpools:2.40.0@aar') { transitive = true } implementation 'com.amplifyframework:core:1.31.3' implementation 'com.amplifyframework:aws-storage-s3:1.31.3'
Hey, at app level add in build.gradle this: classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.3.0' and will works, I did same mistake I update exactly like you but I forgot to update the plugin.
Hi all, I still get the error. Has anyone a solution?
implementation 'com.amazonaws:aws-android-sdk-core:2.40.0' implementation 'com.amazonaws:aws-android-sdk-appsync:3.3.0' implementation 'com.amazonaws:aws-android-sdk-s3:2.40.0' implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.40.0@aar') { transitive = true } implementation ('com.amazonaws:aws-android-sdk-auth-userpools:2.40.0@aar') { transitive = true } implementation 'com.amplifyframework:core:1.31.3' implementation 'com.amplifyframework:aws-storage-s3:1.31.3'
Hey, at app level add in build.gradle this: classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.3.0' and will works, I did same mistake I update exactly like you but I forgot to update the plugin.
Hi all, I still get the error. Has anyone a solution?
implementation 'com.amazonaws:aws-android-sdk-core:2.40.0' implementation 'com.amazonaws:aws-android-sdk-appsync:3.3.0' implementation 'com.amazonaws:aws-android-sdk-s3:2.40.0' implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.40.0@aar') { transitive = true } implementation ('com.amazonaws:aws-android-sdk-auth-userpools:2.40.0@aar') { transitive = true } implementation 'com.amplifyframework:core:1.31.3' implementation 'com.amplifyframework:aws-storage-s3:1.31.3'
Hey, at app level add in build.gradle this: classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.3.0' and will works, I did same mistake I update exactly like you but I forgot to update the plugin.
Perfect, that solved the issue. Thanks, Iolucosmin!
Solution: at app level add in build.gradle this: classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.3.0' Fixed with this PR: https://github.com/awslabs/aws-mobile-appsync-sdk-android/pull/361
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior The project is built and the generated source files will be available to use within the app.
Environment