diff --git a/build.gradle.kts b/build.gradle.kts index 032af4b..965f102 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,6 +37,7 @@ dependencies { testImplementation("org.spockframework:spock-core:2.3-groovy-3.0") { exclude(mapOf("group" to "org.codehaus.groovy")) } + pluginsUnderTest("org.gradle.toolchains:foojay-resolver:0.8.0") pluginsUnderTest("gradle.plugin.com.github.johnrengelman:shadow:7.1.2") pluginsUnderTest("com.gradleup.shadow:shadow-gradle-plugin:8.3.0") diff --git a/src/funcTest/groovy/me/champeau/jmh/ProjectWithFeaturePreviewSpec.groovy b/src/funcTest/groovy/me/champeau/jmh/ProjectWithFeaturePreviewSpec.groovy index 901eddb..9f9762f 100644 --- a/src/funcTest/groovy/me/champeau/jmh/ProjectWithFeaturePreviewSpec.groovy +++ b/src/funcTest/groovy/me/champeau/jmh/ProjectWithFeaturePreviewSpec.groovy @@ -36,7 +36,7 @@ class ProjectWithFeaturePreviewSpec extends AbstractFuncSpec { settingsFile.text = """ plugins { - id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" + id("org.gradle.toolchains.foojay-resolver-convention") }\n """ + settingsFile.text }