From 7a7ee22a9ea754c3e0a3126cc99f8df609d82c2a Mon Sep 17 00:00:00 2001 From: Denis Berestinskii Date: Wed, 11 Sep 2024 17:43:54 +0300 Subject: [PATCH] release --- README.md | 8 ++++---- build.gradle.kts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e1b850d..873ec84 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ Thus, if the coroutine throws an exception, they mimic the real call stack of th ### JVM There are three ways to enable Stacktrace-decoroutinator for JVM. 1. (recommended) If you build your project with Gradle, just apply Gradle plugin with id `dev.reformator.stacktracedecoroutinator`. -2. Add dependency `dev.reformator.stacktracedecoroutinator:stacktrace-decoroutinator-jvm:2.4.3` and call method `DecoroutinatorJvmApi.install()`. -3. Add `-javaagent:stacktrace-decoroutinator-jvm-agent-2.4.3.jar` to your JVM start arguments. Corresponding dependency is `dev.reformator.stacktracedecoroutinator:stacktrace-decoroutinator-jvm-agent:2.4.3`. +2. Add dependency `dev.reformator.stacktracedecoroutinator:stacktrace-decoroutinator-jvm:2.4.4` and call method `DecoroutinatorJvmApi.install()`. +3. Add `-javaagent:stacktrace-decoroutinator-jvm-agent-2.4.4.jar` to your JVM start arguments. Corresponding dependency is `dev.reformator.stacktracedecoroutinator:stacktrace-decoroutinator-jvm-agent:2.4.4`. The first option generates auxiliary methods at build time and the other two use the Java instrumentation API at runtime. @@ -156,12 +156,12 @@ java.lang.Exception: exception at 1725331728978 For Android there is only one option to enable Stacktrace-decoroutinator - apply the Gradle plugin `dev.reformator.stacketracedecoroutinator` to your application's project. ```kotlin plugins { - id("dev.reformator.stacktracedecoroutinator") version "2.4.3" + id("dev.reformator.stacktracedecoroutinator") version "2.4.4" } ``` ### Using Decoroutinator Gradle plugin only for tests -If you want to use Decoroutinator for test only, it's recommended to separate your tests in a different Gradle subproject and apply Decoroutinator Gradle plugin only to it. +If you want to use Decoroutinator for test only, it's recommended to separate your tests in a different Gradle subproject and apply Decoroutinator Gradle plugin to it. But if you don't want to separate your tests, it's still possible by adding a configuration below to your `build.gradle.kts`: ```kotlin stacktraceDecoroutinator { diff --git a/build.gradle.kts b/build.gradle.kts index 186516b..ce2c58d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,5 +18,5 @@ buildscript { subprojects { group = "dev.reformator.stacktracedecoroutinator" - version = "2.4.4-SNAPSHOT" + version = "2.4.4" }