Slackbot
05/14/2023, 1:39 PMVampire
05/14/2023, 2:30 PMapply false
in the settings script is actually pointless. In the settings script you anyway just define default versions for plugins but do not apply it anywhere. Building the subproject should work fine. Hard to say what the problem is without more information or an MCVE.
Besides that, I would instead recommend using a version catalog instead of defining the version in the settings script.BryanT
05/14/2023, 4:03 PMVampire
05/14/2023, 4:05 PMBryanT
05/14/2023, 4:18 PMAn exception occurred applying plugin request [id: 'org.jetbrains.kotlin.jvm', version: '1.8.10']
> Failed to apply plugin 'org.jetbrains.kotlin.jvm'.
BryanT
05/14/2023, 4:25 PMBryanT
05/14/2023, 4:33 PMVampire
05/15/2023, 9:53 AMAlthough I do have to set apply false in my settings.gradle.kts or I get a build exception.Oh, you have it in top-level
plugins {
...
}
then I guess.
I assumed it is in
pluginManagement {
plugins {
...
}
}
where it belongs to define a default version if no version catalog is used.