<commit_before>[//]: # (title: Add dependencies)

To add a dependency on a library, set a dependency of the required [type](gradle.md#dependency-types) (e.g. `implementation`) in the 
`dependencies` block in your [Gradle](gradle.md) build script.

<tabs>

```groovy
kotlin {
    sourceSets {
        commonMain {
            dependencies {
                implementation 'com.example:my-library:1.0'
            }
        }
    }
}
``` 

```kotlin
kotlin {
    sourceSets {
        val commonMain by getting {
            dependencies {
                implementation("com.example:my-library:1.0")
            }
        }
    }
}
```
<commit_msg>update: added link to mpp dependencies<commit_after>[//]: # (title: Add dependencies)

To add a dependency on a library, set a dependency of the required [type](gradle.md#dependency-types) (e.g. `implementation`) in the 
[`dependencies`](mpp-dsl-reference.md#dependencies) block in your [Gradle](gradle.md) build script.

<tabs>

```groovy
kotlin {
    sourceSets {
        commonMain {
            dependencies {
                implementation 'com.example:my-library:1.0'
            }
        }
    }
}
``` 

```kotlin
kotlin {
    sourceSets {
        val commonMain by getting {
            dependencies {
                implementation("com.example:my-library:1.0")
            }
        }
    }
}
```

{'fraction_non_alphanumeric': 0.12481536189069424, 'fraction_numerical': 0.005908419497784343, 'mean_word_length': 2.1149425287356323, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7235029', 'n_tokens_mistral': 429, 'n_tokens_neox': 393, 'n_words': 97}