Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against AGP 8.9 and 8.10 #1357

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MGaetan89
Copy link
Contributor

No description provided.

@MGaetan89
Copy link
Contributor Author

The COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM constant was removed in Kotlin 2.0.0 (KT-62962), but I'm not sure what to do about it.
Even removing the 1.9 language version enforcement, it still fails with the same error.

java.lang.NoSuchFieldError: COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM
	at org.jetbrains.kotlin.gradle.plugin.PropertiesProvider.getUseClasspathSnapshot(PropertiesProvider.kt:171)
	at org.jetbrains.kotlin.gradle.tasks.configuration.BaseKotlinCompileConfig$1.invoke(KotlinCompileConfig.kt:39)
	at org.jetbrains.kotlin.gradle.tasks.configuration.BaseKotlinCompileConfig$1.invoke(KotlinCompileConfig.kt:38)
	at org.jetbrains.kotlin.gradle.tasks.configuration.TaskConfigAction.execute(AbstractKotlinCompileConfig.kt:188)
	at org.jetbrains.kotlin.gradle.tasks.KotlinTasksProvider.registerKotlinJVMTask(TasksProvider.kt:102)
	at org.jetbrains.kotlin.gradle.plugin.Kotlin2JvmSourceSetProcessor.doRegisterTask(Kotlin2JvmSourceSetProcessor.kt:35)
	at org.jetbrains.kotlin.gradle.plugin.KotlinSourceSetProcessor.prepareKotlinCompileTask(KotlinSourceSetProcessor.kt:49)
	at org.jetbrains.kotlin.gradle.plugin.KotlinSourceSetProcessor.<init>(KotlinSourceSetProcessor.kt:39)
	at org.jetbrains.kotlin.gradle.plugin.Kotlin2JvmSourceSetProcessor.<init>(Kotlin2JvmSourceSetProcessor.kt:29)
	at org.jetbrains.kotlin.gradle.plugin.KotlinJvmPlugin.buildSourceSetProcessor$kotlin_gradle_plugin_common(KotlinJvmPlugin.kt:48)
	at org.jetbrains.kotlin.gradle.plugin.KotlinJvmPlugin.buildSourceSetProcessor$kotlin_gradle_plugin_common(KotlinJvmPlugin.kt:23)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$apply$1.invoke(AbstractKotlinPlugin.kt:63)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$apply$1.invoke(AbstractKotlinPlugin.kt:61)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$Companion$configureSourceSetDefaults$1.execute(AbstractKotlinPlugin.kt:299)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$Companion$configureSourceSetDefaults$1.execute(AbstractKotlinPlugin.kt:298)
	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)
	at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1.run(DefaultCollectionCallbackActionDecorator.java:110)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
	at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction.execute(DefaultCollectionCallbackActionDecorator.java:107)
	at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$Companion.configureSourceSetDefaults(AbstractKotlinPlugin.kt:298)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin$Companion.configureTarget(AbstractKotlinPlugin.kt:167)
	at org.jetbrains.kotlin.gradle.plugin.AbstractKotlinPlugin.apply(AbstractKotlinPlugin.kt:61)
	at org.jetbrains.kotlin.gradle.plugin.KotlinJvmPlugin.apply(KotlinJvmPlugin.kt:77)
	at org.jetbrains.kotlin.gradle.plugin.KotlinJvmPlugin.apply(KotlinJvmPlugin.kt:23)
	at org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper.apply(KotlinPluginWrapper.kt:271)
	at org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper.apply(PluginWrappers.kt:29)
	at org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper.apply(PluginWrappers.kt:21)

@MGaetan89 MGaetan89 changed the title Test against AGP 8.9 alpha Test against AGP 8.9 and 8.10 Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant