Chachako
09/01/2021, 9:55 AMJavier
09/01/2021, 10:01 AMmbonnin
09/01/2021, 10:03 AMwithPluginClassPath stuffmbonnin
09/01/2021, 10:03 AMmbonnin
09/01/2021, 10:04 AMmbonnin
09/01/2021, 10:04 AMGradleRunner.create() works well 👍Chachako
09/01/2021, 10:06 AMwithPluginClassPath yesterdaymbonnin
09/01/2021, 10:08 AMtasks.withType<Test> {
dependsOn("publishAllPublicationsToPluginTestRepository")
}
Where pluginTest is a local repo that you also use in your test projectsChachako
09/01/2021, 10:11 AMJavier
09/01/2021, 11:17 AMwithPluginClassPath and not? I think it only allows to not set the version, but rest was equal 🤔Javier
09/01/2021, 11:17 AMbuild folder toombonnin
09/01/2021, 11:41 AMwithPluginClassPath somewhat bypasses the Gradle classloaders. Since classloaders can have weird behaviours, I find it reassuring to know my tests run in the same conditions as users.Zac Sweers
09/01/2021, 8:03 PM