Skip to content

Gradle Plugin: 1.3.1.1

Compare
Choose a tag to compare
@mannodermaus mannodermaus released this 04 Nov 12:24

This release improves the usability of the plugin for users of the Kotlin DSL for Gradle.

Added

Although not directly related to the artifact itself, the Wiki has received some love for usage with the Kotlin DSL. There are now "Getting Started" guides for both Groovy and Kotlin users.

Changed

DSL methods have been unified, so that instead of exposing two variants for Kotlin and Groovy, a single signature using Gradle's Action<T> is exposed to consumers.

If you were using Kotlin DSL with this plugin before, this can potentially be a breaking change. Because of the improved SAM interface integrations for both languages, usage of android-junit5 is now a lot cleaner in Kotlin.

1.3.1.0:

android.testOptions {
  junitPlatform {
    filters("debug", config = {
      // Configure the filter
    })
  }
}

1.3.1.1:

android.testOptions {
  junitPlatform {
    filters("debug") {
      // Configure the filter
    }
  }
}