Skip to content

Releases: mannodermaus/android-junit5

Plugin 1.10.0.0

04 Nov 15:06
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.10.0 and includes the following changes:

  • JUnit 5.10.0
  • Fix binary-incompatible API change between Gradle 7&8 for output location of Jacoco reports (#302)

Instrumentation 1.4.0

04 Nov 15:08
Compare
Choose a tag to compare

After more than two years, here is a new version of the instrumentation artifacts! We welcome two new artifacts to the family, android-test-compose and android-test-extensions. Here is the full list of notable changes in this version:

  • Update formatting of instrumentation test names to prevent breaking generation of log files in newer versions of AGP (#263)
  • Add support for test sharding (#270)
  • Add support for inherited tests (#288)
  • Only autoconfigure JUnit 5 for instrumentation tests when the user explicitly adds junit-jupiter-api as a dependency
  • Prevent noisy logs in Logcat complaining about unresolvable annotation classes (#306)
  • Add support for parallel execution of non-UI instrumentation tests (#295)
  • Instroduce android-test-compose artifact with support for testing composable functions with JUnit 5 (#234)
  • Introduce android-test-extensions artifact with optional extensions, starting with a port of JUnit 4's GrantPermissionRule (#251)

Plugin 1.9.3.0

29 Apr 08:18
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.9.3.

Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.

Plugin 1.9.2.0

29 Apr 07:48
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.9.2.

Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.

Plugin 1.9.1.0

29 Apr 07:04
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.9.1.

Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.

Plugin 1.9.0.0

29 Apr 01:17
486d154
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.9.0, as well as several internal refactorings and improvements. From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the previous release.

  • JUnit 5.9.0
  • Add support for Android Gradle Plugin 8.x.y
  • Raise minimum supported versions for AGP and Gradle to 7.0.x and 7.0, respectively
  • Refactor implementation to mostly use new Variant API from Android Gradle Plugin
  • Remove integrity check and the integrityCheckEnabled flag for instrumentation tests (they are auto-configured if junit-jupiter-api is found on the androidTest classpath)
  • Use the correct Kotlin source directory set on AGP 7 (@Goooler, #279)
  • Recommend new plugin DSL for configuration over legacy DSL
  • Work around breaking binary change for PackagingOptions in AGP 8.x

Plugin 1.8.2.1

02 Jul 13:24
Compare
Choose a tag to compare

A patch release to improve compatibility with recent versions of Gradle and Kotlin.

  • Support Gradle configuration cache (#265)
  • Replace usage of deprecated destinationDir compiler task property to support Kotlin 1.7.0 and beyond (#274)

Plugin 1.8.2.0

19 Dec 21:42
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.8.2.

Plugin 1.8.1.0

19 Dec 21:08
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.8.1 and some internal restructuring around deprecated APIs to preent warnings on Gradle 7.0 and above.

  • JUnit 5.8.1
  • Replaced deprecated method Report.setEnabled with Report.required.set to remove deprecation warnings in Gradle 7+ (CC @gmarques33, #260)

Plugin 1.8.0.0

17 Sep 21:13
Compare
Choose a tag to compare

This release of the Gradle plugin brings compatibility with JUnit 5.8.0. From this point onwards, the minimum supported Android Gradle Plugin is 4.0. If you need to stay on the 3.x line, please refrain from updating to this version of android-junit5. In any case, please read through the changelog carefully, especially the "Removed" section. Going forward, you'll have to specify the full ID of the plugin instead of the android-junit5 shortcut.

Added

  • JUnit 5.8.0
  • New Plugin Marker artifact facilitating usage of the plugin through the plugins {} DSL

Changed

  • The plugin no longer requires users to apply an Android plugin first - ordering can be arbitrary

Removed

  • Support for Android Gradle Plugins 3.x
  • Support for the deprecated com.android.feature plugin, which was removed in Android Gradle Plugin 4.x
  • The shorthand version for applying the plugin through the android-junit5 ID has been removed. Going forward, please apply the Android JUnit 5 plugin through the long form: de.mannodermaus.android-junit5