thanksforallthefish
12/29/2022, 9:35 AMAn exception occurred applying plugin request [id: 'org.gradle.kotlin.kotlin-dsl', version: '3.2.7']
> Failed to apply plugin class 'org.gradle.kotlin.dsl.plugins.base.KotlinDslBasePlugin'.
> Could not create an instance of type org.gradle.kotlin.dsl.plugins.dsl.KotlinDslPluginOptions.
> 'java.lang.Object org.gradle.internal.deprecation.DeprecationMessageBuilder$DeprecateProperty$WithDeprecationTimeline.withUserManual(java.lang.String, java.lang.String)'
is? using gradle 7.6 and
plugins {
id "org.gradle.kotlin.kotlin-dsl" version "3.2.7"
id "java-gradle-plugin"
}
if I downgrade to 3.2.6 it workshfhbd
12/29/2022, 10:23 AMkotlin-dsl
. It is hardcoded for each Gradle version, just use it without the version.thanksforallthefish
12/29/2022, 10:25 AMhfhbd
12/29/2022, 10:25 AMkotlin-dsl
}`thanksforallthefish
12/29/2022, 10:26 AMplugins {
id "org.gradle.kotlin.kotlin-dsl"
id "java-gradle-plugin"
}
failed in build.gradle
, but once I changed to kts and
plugins {
`kotlin-dsl`
id("java-gradle-plugin")
}
it workedhfhbd
12/29/2022, 10:26 AM