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 + +
+testImplementation "io.mockk:mockk:${mockkVersion}"
+
+ - + +
+ <dependency>
+     <groupId>io.mockk</groupId>
+     <artifactId>mockk-jvm</artifactId>
+     <version>${mockkVersion}</version>
+     <scope>test</scope>
+ </dependency>
+
+ @@ -110,17 +115,11 @@ testImplementation "io.mockk:mockk-agent-jvm:{version}" - - - -
ApproachInstruction
Gradle -    
testImplementation "io.mockk:mockk:{version}"
-
Gradle (Kotlin DSL) -    
testImplementation("io.mockk:mockk-jvm:{version}")
-
+
testImplementation("io.mockk:mockk:${mockkVersion}")
+
Maven -
<dependency>
-    <groupId>io.mockk</groupId>
-    <artifactId>mockk-jvm</artifactId>
-    <version>{version}</version>
-    <scope>test</scope>
-</dependency>
-
android 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}"
 
android 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}"
-
## DSL examples