Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uploadArchives {
- repositories {
- mavenDeployer {
- if (project.hasProperty("local_maven") || project.hasProperty("maven_pass")) {
- if (project.hasProperty("maven_pass")) {
- println "Uploading to remote maven."
- repository(url: "http://maven_upload.covers1624.net/") {
- authentication(userName: "KitsuneAlex", password: project.getProperty("maven_pass"))
- }
- } else {
- println "Uploading to local maven."
- repository(url: "file://${local_maven}")
- }
- pom {
- groupId = project.group
- artifactId = project.archivesBaseName
- project {
- name project.archivesBaseName
- packaging 'jar'
- description 'Graphene'
- url 'https://github.com/CarbonMC/Graphene'
- scm {
- url 'https://github.com/CarbonMC/Graphene'
- connection 'scm:git:git://github.com/CarbonMC/Graphene.git'
- developerConnection 'scm:git:git@github.com:CarbonMC/Graphene.git'
- }
- issueManagement {
- system 'github'
- url 'https://github.com/CarbonMC/Graphene/issues'
- }
- licenses {
- license {
- name 'GNU Lesser Public License (GPL), Version 2.1'
- url 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt'
- distribution 'repo'
- }
- }
- developers {
- developer {
- id 'KitsuneAlex'
- name 'KitsuneAlex'
- roles { role 'developer' }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement