Kotlin 1.1.4-3 hotfix released

New hotfix for Kotlin 1.1.4 released; giant amount of bugs fixed
31 August 2017   2571

A hotfix for latest Kotlin version 1.1.4 has been released. Let's see what it fixes.

List of fixed bugs:

  • SamWithReceiver compiler plugin not used by IntelliJ for .kt files
  • Gradle Kotlin Plugin does not work with the gradle java-library plugin
  • Console spam when opening idea-community project in debug IDEA
  • [Coroutines + Kapt3] Assertion failed in ClassClsStubBuilder.createNestedClassStub
  • kapt3 & Parcelize: Compilation error
  • Kotlin 1.1.4 noarg plugin breaks with sealed classes
  • Kapt error after updating to 1.1.4 - stub adds type parameters where there are none
  • Mocking of final named suspend methods with mockito fails
  • kapt3: not always including argument to @javax.inject.Named in generated stubs
  • "Convert to expression body" is not shown in 162 / AS23 branches for multi-liners
  • NPE caused by Map<String, Boolean>?.get
  • PerModulePackageCacheService calls getOrderEntriesForFile() for every file, even those that can't affect Kotlin resolve
  • Provide an opt-out flag for separate classes directories (Gradle 4.0+)
  • if an imported library already exists it should be redetected during gradle import

Learn more at GitHub

Kaspersky Lab to Open Kaspresso Source Code

The solution is designed for mobile services testing
21 October 2019   452

Kaspersky Lab has uploaded a tool for self-testing applications on Android on GitHub. The creation involved developers from HeadHunter and Avito. Kaspresso - as the framework is called - has already been tested on Kaspersky Lab’s mobile services.

The framework is based on two autotest libraries: Espresso and Kakao. Kaspresso can be used in AndroidDebugBridge tests - this is when specified commands are executed on the device for debugging. In normal tests through Espresso, there is no ADB support. Kaspresso also logs all actions and can solve problems with flaky tests when the result is unpredictable. It is written in Kotlin.

Kaspersky Lab believes that Kaspresso differs from its competitors in the flexibility of settings and ease of use.