marc
05/20/2016, 10:08 AMmarc
05/20/2016, 10:08 AMimport org.jetbrains.spek.api.*
marc
05/20/2016, 10:08 AMError:(3, 22) Unresolved reference: spek
marc
05/20/2016, 10:09 AMimport org.jetbrains.
the autocomplete list has .anko
and .annotations
(but no .spek
)marc
05/20/2016, 10:09 AMmarc
05/20/2016, 10:12 AMcompile
rather than testCompile
and I still get the same issue. So it's not that.marc
05/20/2016, 10:25 AMmarc
05/20/2016, 10:31 AMtestCompile('org.jetbrains.spek:spek:1.0.9') {
exclude(group: 'org.jetbrains.kotlin')
}
marc
05/20/2016, 10:31 AMmarc
05/20/2016, 10:37 AMrobfletcher
05/20/2016, 5:18 PMSpek()
constructor instead of using an init
blockrobfletcher
05/20/2016, 5:20 PMrobfletcher
05/20/2016, 5:20 PMconfigurations.all {
resolutionStrategy {
eachDependency {
if (it.requested.group == "org.jetbrains.kotlin") {
it.useVersion kotlin_version
}
}
}
}
robfletcher
05/20/2016, 5:20 PMrobfletcher
05/20/2016, 5:23 PMkotlin-(runtime|stdlib|reflect)
dependencies from Spek would be hoisted to the version you specified in the compile
configuration anywayrobfletcher
05/20/2016, 5:24 PMkotlin-test
hhariri
cedric
05/21/2016, 5:01 PMhhariri
hhariri
hhariri
hhariri
robfletcher
05/21/2016, 7:51 PMrobfletcher
05/21/2016, 7:52 PMhhariri
hhariri
robfletcher
05/21/2016, 7:56 PMhastebrot
05/23/2016, 6:09 PMwhich supports kotlin AFAIKWhat...? I would know. There an open PR for the Kotlin lexer: https://github.com/jneen/rouge/pull/354
hastebrot
05/23/2016, 6:17 PMtrait
keyword).hhariri