forked from ktorio/ktor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.gradle
29 lines (27 loc) · 849 Bytes
/
pom.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
def pomConfig = {
licenses {
license {
name "The Apache Software License, Version 2.0"
url "https://www.apache.org/licenses/LICENSE-2.0.txt"
distribution "repo"
}
}
developers {
developer {
id "JetBrains"
name "JetBrains Team"
organization "JetBrains"
organizationUrl "https://www.jetbrains.com"
}
}
scm {
url "https://github.com/ktorio/ktor.git"
}
}
project.ext.configureMavenCentralMetadata = { pom ->
def root = asNode()
root.appendNode('name', project.name)
root.appendNode('description', 'Ktor is a framework for quickly creating web applications in Kotlin with minimal effort.')
root.appendNode('url', 'https://github.com/ktorio/ktor')
root.children().last() + pomConfig
}