Slackbot
08/21/2022, 4:14 PMSlackbot
08/22/2022, 3:11 PMJaswanth
08/22/2022, 3:11 PMSlackbot
08/23/2022, 10:48 AMSlackbot
08/23/2022, 5:08 PMSlackbot
08/23/2022, 5:55 PMSlackbot
08/23/2022, 11:55 PMSlackbot
08/24/2022, 6:09 PMSlackbot
08/24/2022, 8:14 PMAshwin Kachhara
08/25/2022, 6:46 PMError resolving plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.7.0']
> The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.
on this block
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.detekt)
id 'java-library'
alias(libs.plugins.kotlin.kapt)
id 'maven-publish'
}
I tried using the solution described in this gradle issue, but ran into this other issue
Could not compile build file '<...>/projectA/build.gradle'.
> startup failed:
build file '<...>/projectA/build.gradle': 2: argument list must be exactly 1 literal String or String with property replacement
This started happening after I applied a custom gradle settings plugin (linked in this thread)
Does anyone know why this is running into an issue?Slackbot
08/26/2022, 12:28 PMIvan Serdyuk
08/26/2022, 1:10 PMSlackbot
08/26/2022, 2:55 PMEli Graber
08/26/2022, 6:55 PM<target>Klibraries
and <target>Classpath
configurations were resolved during configuration time.
Any ideas on where the best places are in my Gradle logic to start looking for what is causing this?Slackbot
08/27/2022, 2:40 AMSlackbot
08/29/2022, 3:08 AMAyse Altinsoy
08/29/2022, 8:28 AMSlackbot
08/29/2022, 4:48 PMClayton Walker
08/29/2022, 8:53 PMSlackbot
08/29/2022, 9:16 PMSlackbot
08/29/2022, 9:56 PMSlackbot
08/30/2022, 1:45 PMSlackbot
08/30/2022, 10:32 PMSlackbot
08/31/2022, 9:00 AMAyse Altinsoy
08/31/2022, 12:55 PMSlackbot
08/31/2022, 7:22 PMSlackbot
08/31/2022, 1:32 PMSlackbot
08/31/2022, 2:40 PMPuneet Behl
09/01/2022, 10:01 AM* What went wrong:
Execution failed for task ':grails-core:compileGroovy'.
> Could not resolve all files for configuration ':grails-core:annotationProcessor'.
> Could not resolve org.codehaus.groovy:groovy-bom:3.0.10.
Required by:
project :grails-core > io.micronaut.spring:micronaut-spring-annotation:4.1.1 > io.micronaut:micronaut-bom:3.5.1
project :grails-core > io.micronaut.spring:micronaut-spring-annotation:4.1.1 > io.micronaut:micronaut-bom:3.5.1 > io.micronaut.groovy:micronaut-groovy-bom:3.1.0
> No matching variant of org.apache.groovy:groovy-bom:4.0.4 was found. The consumer was configured to find a runtime of a library, packaged as a jar, and its dependencies declared externally but:
- Variant 'apiElements' capability org.apache.groovy:groovy-bom:4.0.4:
- Incompatible because this component declares an API of a platform and the consumer needed a runtime of a library
I think the above is happening due to annotationProcessor "io.micronaut.spring:micronaut-spring-annotation:$micronautSpringVersion
in the build.gradle
file. Is there an easy way to exclude the groovy-bom
from annnotationProcessor
something as the following:
annotationProcessor("io.micronaut.spring:micronaut-spring-annotation:$micronautSpringVersion") {
exclude group: "org.codehaus.groovy", module: "groovy-bom"
}
I would appreciate any help with the same.Slackbot
09/01/2022, 3:37 PM