diff --git a/README.md b/README.md index 1f3f0a978..952f42852 100644 --- a/README.md +++ b/README.md @@ -71,38 +71,43 @@ Table of contents: All you need to get started is just to add a dependency to `MockK` library. -#### Gradle/maven dependency +#### Gradle/Maven dependency +
Approach | Instruction | |
---|---|---|
- testImplementation "io.mockk:mockk:{version}"- |
+||
(Kotlin DSL) | -
- testImplementation("io.mockk:mockk-jvm:{version}")- |
+
+ testImplementation("io.mockk:mockk:${mockkVersion}")+ |
-<dependency> - <groupId>io.mockk</groupId> - <artifactId>mockk-jvm</artifactId> - <version>{version}</version> - <scope>test</scope> -</dependency>- |
+||
Unit |
-testImplementation "io.mockk:mockk-android:{version}" -testImplementation "io.mockk:mockk-agent-jvm:{version}" +testImplementation "io.mockk:mockk-android:${mockkVersion}" +testImplementation "io.mockk:mockk-agent:${mockkVersion}" |
Instrumented |
-androidTestImplementation "io.mockk:mockk-android:{version}" -androidTestImplementation "io.mockk:mockk-agent-jvm:{version}" +androidTestImplementation "io.mockk:mockk-android:${mockkVersion}" +androidTestImplementation "io.mockk:mockk-agent:${mockkVersion}" |
-
Common multiplatform | -
- testImplementation "io.mockk:mockk-common:{version}"- |
-