Alex Semin
09/24/2026, 5:27 PMisolatedProjects right next to `configurationCache`:
gradlePlugin {
plugins {
create("myPlugin") {
id = "io.github.my.plugin"
// ...
compatibility {
features {
configurationCache = true
isolatedProjects = true
}
}
}
}
}
Before enabling Isolated Projects, most users first want to know whether their plugins support it. A declaration answers that on your plugin's page and can help your plugin in search results. Declaring false is useful too -- there's no penalty for it.
All you need is the new Plugin Publish Plugin version, no Gradle upgrade required.
We've also covered it in the Gradle 9.8.0 release notes, out today, and in the user manual:
⢠Release notes: Declaring plugin compatibility with Isolated Projects on the Plugin Portal
⢠User manual, with Kotlin and Groovy snippets: Declaring compatibility with Gradle features
⢠New to Isolated Projects? Start here: Isolated Projects
A few things to know:
⢠In the Kotlin DSL, compatibility needs `import org.gradle.plugin.compatibility.compatibility`; in Groovy, it's compatibility(it) { ... }.
⢠While Isolated Projects is incubating, the declaration shows up in the compatibility table on your plugin's page, marked "(Incubating)", but not as a badge at the top yet.
⢠Isolated Projects constraints may get stricter before the feature is stable, so treat the declaration as something to revisit.
Questions and feedback are welcome here or in #C0BJEV93WMAJosh Friend
09/24/2026, 5:33 PMysb33r
09/24/2026, 6:00 PMgradleTestSets {
testSets {
main {
isolatedProjects.mode = 'fail' // or another mode
}
}
}
If the Gradle version under test does not support it, it will print a warning and ignore the parameter.tony
09/25/2026, 6:07 PMproject instance and this was violating the (pre-incubating) IP contract. I'm honestly not sure I've resolved all of those. However, my tests now run with the IP flag on and there are no reported issues. Is that good enough?ysb33r
09/25/2026, 6:10 PMtony
09/25/2026, 6:15 PMscratching my headI feel this
Josh Friend
09/25/2026, 6:16 PMysb33r
09/25/2026, 6:20 PM