Skip to content

Commit

Permalink
🔧 configure maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
atomfrede committed Jan 13, 2022
1 parent 08f4c48 commit 3478493
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,35 @@ jar {
}
}

publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'jadenticon'
description = 'Jadenticon is a simple java wrapper for the Jdenticon javascript library to create nice looking, random identicons.'
url = 'http://www.example.com/library'

licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'atomfrede'
name = 'Frederik Hahne'
}
}
scm {
connection = 'scm:git:git://github.com/atomfrede/jadenticon.git'
developerConnection = 'scm:git:ssh://github.com/atomfrede/jadenticon.git'
}
}
}
}
}

project.version = scmVersion.version

check.dependsOn jacocoTestReport

0 comments on commit 3478493

Please sign in to comment.