Use shortcut syntax for maven repo in kotlin-dsl snippet

This commit is contained in:
Andrey Mischenko 2019-02-21 16:30:55 +08:00 committed by GitHub
parent f77b7a4876
commit 6299c0940f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ or for the Gradle Kotlin DSL:
```kotlin ```kotlin
repositories { repositories {
maven { setUrl("http://npm.mipt.ru:8081/artifactory/gradle-dev") } maven("http://npm.mipt.ru:8081/artifactory/gradle-dev")
mavenCentral() mavenCentral()
} }
``` ```