blob: 9a96f3c2de1ce1da16936f40ffa686991a72a511 [file] [log] [blame]
Vsevolod Tolstopyatov0f158122020-04-29 23:35:41 +03001/*
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
7import org.gradle.api.Project
Vsevolod Tolstopyatov0f158122020-04-29 23:35:41 +03008import org.gradle.api.publish.maven.MavenPom
9
10// --------------- pom configuration ---------------
11
12fun 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}