SpotiFlyer/fuzzywuzzy/gradle/pom.gradle
2021-03-18 23:41:45 +05:30

45 lines
1.6 KiB
Groovy

/*
* * Copyright (c) 2021 Shabinder Singh
* * This program is free software: you can redistribute it and/or modify
* * it under the terms of the GNU General Public License as published by
* * the Free Software Foundation, either version 3 of the License, or
* * (at your option) any later version.
* *
* * This program is distributed in the hope that it will be useful,
* * but WITHOUT ANY WARRANTY; without even the implied warranty of
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* * GNU General Public License for more details.
* *
* * You should have received a copy of the GNU General Public License
* * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
def pomConfig = {
licenses {
license {
name "The Apache Software License, Version 2.0"
url "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution "repo"
}
}
developers {
developer {
id "WillowTree"
name "WillowTree Team"
organization "WillowTree"
organizationUrl "http://www.willowtreeapps.com"
}
}
scm {
url "https://github.com/willowtreeapps/fuzzywuzzy-kotlin"
}
}
project.ext.configureMavenCentralMetadata = { pom ->
def root = asNode()
root.appendNode('name', project.name)
root.appendNode('description', 'FuzzyWuzzy-Kotlin is a port of the python fuzzy string matching library to Kotlin Multiplatform (JVM, Native, JS, Wasm)')
root.appendNode('url', 'https://github.com/willowtreeapps/fuzzywuzzy-kotlin')
root.children().last() + pomConfig
}