Vsevolod Tolstopyatov | 0f15812 | 2020-04-29 23:35:41 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| 3 | */ |
| 4 | |
| 5 | @file:Suppress("UnstableApiUsage") |
| 6 | |
| 7 | import org.gradle.api.Project |
Vsevolod Tolstopyatov | 0f15812 | 2020-04-29 23:35:41 +0300 | [diff] [blame] | 8 | import org.gradle.api.publish.maven.MavenPom |
| 9 | |
| 10 | // --------------- pom configuration --------------- |
| 11 | |
| 12 | fun MavenPom.configureMavenCentralMetadata(project: Project) { |
| 13 | name by project.name |
| 14 | description by "Coroutines support libraries for Kotlin" |
| 15 | url by "https://github.com/Kotlin/kotlinx.coroutines" |
| 16 | |
| 17 | licenses { |
| 18 | license { |
| 19 | name by "The Apache Software License, Version 2.0" |
| 20 | url by "https://www.apache.org/licenses/LICENSE-2.0.txt" |
| 21 | distribution by "repo" |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | developers { |
| 26 | developer { |
| 27 | id by "JetBrains" |
| 28 | name by "JetBrains Team" |
| 29 | organization by "JetBrains" |
| 30 | organizationUrl by "https://www.jetbrains.com" |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | scm { |
| 35 | url by "https://github.com/Kotlin/kotlinx.coroutines" |
| 36 | } |
| 37 | } |