Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sourceCompatibility = '1.6'
targetCompatibility = '1.6'

allprojects {
version = "0.3"
version = "0.4"
repositories {
mavenCentral()
}
Expand All @@ -23,4 +23,19 @@ reportCodeCoverageIfEnabled()
jar {
from file('LICENSE.txt')
from file('NOTICE')
}
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}
4 changes: 2 additions & 2 deletions external-dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def jacksonVersion="2.1.4"
def jacksonVersion="2.2.0"
def jerseyVersion="1.17"
def externalDependencies = [
jackson: [
Expand All @@ -22,4 +22,4 @@ if (gradle.gradleVersion.startsWith('0.9.')) {
externalDependencies.each { project[it.key] = it.value }
} else {
externalDependencies.each { project.ext[it.key] = it.value }
}
}