Kirill Rakhman

Results 68 comments of Kirill Rakhman

Answer from a Kotlin dev: https://youtrack.jetbrains.com/issue/KT-7629

@sfunke I'm using gradle-retrolambda 3.0.1 and the workaround from https://github.com/evant/gradle-retrolambda/issues/106#issuecomment-97564105.

@evant Any progress on the underlying issue, though?

Here's a version of @sfunke's workaround that's more generic (works with flavors) and possibly a bit faster: ``` project.afterEvaluate { def variants = project.android.applicationVariants + project.android.testVariants variants.each { var ->...

Yeah, works alright. Am 20.09.2015 21:15 schrieb "Evan Tatarka" [email protected]: > If you get a chance, can you try with the android plugin 1.4.0-beta2 and > the gradle retrolambda plugin...

It seems the .store folder is not created if I don't add the deprecated authStore property.

Isn't the generated `equals` method doing what the second example does?

You can do `if (x !is String) return` but that's a bit more verbose.

`require(o is String)` will not smart cast the value.

I personally follow the following rule: **Either** put the **single** expression on the same line or use curly braces. ``` kotlin //good if (x < 0) return //good if (string.isEmpty())...