Skip to content

Instantly share code, notes, and snippets.

@rahulsom
Created January 29, 2018 05:08
Show Gist options
  • Save rahulsom/6dc5c9bd934993b617b051498fb55a18 to your computer and use it in GitHub Desktop.
Save rahulsom/6dc5c9bd934993b617b051498fb55a18 to your computer and use it in GitHub Desktop.
Asciidoctor source with attributes subs bug demo

Demo

This works, but is not ideal

build.gradle.kts
buildscript {
    dependencies {
        classpath("org.junit.platform:junit-platform-gradle-plugin:1.2.3")
    }
}

configure<JUnitPlatformExtension> {
    filters {
        engines {
            include("spek")
        }
    }
}

This also works, but disallows use of attributes

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

build.gradle.kts
buildscript {
    dependencies {
        classpath("org.junit.platform:junit-platform-gradle-plugin:1.2.3")
    }
}

configure {
    filters {
        engines {
            include("spek")
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment