Created
January 29, 2018 05:08
-
-
Save rahulsom/6dc5c9bd934993b617b051498fb55a18 to your computer and use it in GitHub Desktop.
Revisions
-
rahulsom created this gist
Jan 29, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ = Demo :junitPlatformVersion: 1.2.3 This works, but is not ideal [source,kotlin,subs="attributes"] .build.gradle.kts ---- buildscript { dependencies { classpath("org.junit.platform:junit-platform-gradle-plugin:{junitPlatformVersion}") } } configure<JUnitPlatformExtension> { filters { engines { include("spek") } } } ---- This also works, but disallows use of attributes [source,kotlin] .build.gradle.kts ---- buildscript { dependencies { classpath("org.junit.platform:junit-platform-gradle-plugin:1.2.3") } } configure<JUnitPlatformExtension> { filters { engines { include("spek") } } } ---- This is what one would like to do, but doesn't work [source,kotlin,subs="attributes"] .build.gradle.kts ---- buildscript { dependencies { classpath("org.junit.platform:junit-platform-gradle-plugin:{junitPlatformVersion}") } } configure<JUnitPlatformExtension> { filters { engines { include("spek") } } } ----