kmath/docs/templates/ARTIFACT-TEMPLATE.md

30 lines
651 B
Markdown
Raw Normal View History

2021-03-22 14:32:08 +03:00
## Artifact:
The Maven coordinates of this project are `${group}:${name}:${version}`.
**Gradle:**
2022-10-16 14:41:48 +03:00
```groovy
2021-03-22 14:32:08 +03:00
repositories {
maven { url 'https://repo.kotlin.link' }
mavenCentral()
2022-10-16 14:41:48 +03:00
// development and snapshot versions
maven { url 'https://maven.pkg.jetbrains.space/spc/p/sci/dev' }
2021-03-22 14:32:08 +03:00
}
dependencies {
implementation '${group}:${name}:${version}'
}
```
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
mavenCentral()
2022-10-16 14:41:48 +03:00
// development and snapshot versions
maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
2021-03-22 14:32:08 +03:00
}
dependencies {
implementation("${group}:${name}:${version}")
}
```