xref: /aosp_15_r20/external/kotlinx.serialization/gradle/maven-metadata.gradle (revision 57b5a4a64c534cf7f27ac9427ceab07f3d8ed3d8)
1/*
2 * Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3 */
4
5project.ext.pomConfig = {
6    licenses {
7        license {
8            name "The Apache Software License, Version 2.0"
9            url "http://www.apache.org/licenses/LICENSE-2.0.txt"
10            distribution "repo"
11        }
12    }
13    developers {
14        developer {
15            id "JetBrains"
16            name "JetBrains Team"
17            organization "JetBrains"
18            organizationUrl "http://www.jetbrains.com"
19        }
20    }
21
22    scm {
23        url "https://github.com/Kotlin/kotlinx.serialization"
24    }
25}
26
27project.ext.configureMavenCentralMetadata = { pom ->
28    def root = asNode()
29    root.appendNode('name', project.name)
30    root.appendNode('description', 'Kotlin multiplatform serialization runtime library')
31    root.appendNode('url', 'https://github.com/Kotlin/kotlinx.serialization')
32    root.children().last() + pomConfig
33}
34