https://github.com/kermitt2/grobid
Tip revision: 4f5d786dd78a5294f163be5910568b34566713c4 authored by kermitt2 on 27 January 2015, 22:03:52 UTC
[maven-release-plugin] prepare release grobid-parent-0.3.2
[maven-release-plugin] prepare release grobid-parent-0.3.2
Tip revision: 4f5d786
build.gradle
// GENERATED by pom2gradle.xq
// don't edit this file manually
// author: Vyacheslav Zholudev
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
sourceCompatibility = 1.6
targetCompatibility = 1.6
archiveBaseName = 'grobid-core'
version = '0.0.3-SNAPSHOT'
repositories {
mavenCentral()
mavenRepo(urls: 'http://download.java.net/maven/2/')
mavenRepo(urls: 'http://maven.amplafi.com/')
}
dependencies {
compile files('lib/crfpp.jar')
compile group: 'junit', name: 'junit', version: '4.8.2'
compile group: 'log4j', name: 'log4j', version: '1.2.16'
compile group: 'commons-pool', name: 'commons-pool', version: '1.4'
compile group: 'commons-io', name: 'commons-io', version: '2.0.1'
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0.1'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.4.3'
compile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.6.1'
}
localLibs = ['crfpp.jar']
task sourceJar(type: Jar) {
description = 'Builds a source jar artifact suitable for maven deployment.'
classifier = 'sources'
from sourceSets.main.java
}
build.dependsOn sourceJar
artifacts {
archives sourceJar
}
jar {
from { configurations.compile.collect { it.isDirectory() ? [] : localLibs.contains(it.getName()) ? zipTree(it) : []} }
}
test {
maxHeapSize = '1024m'
}
// idea stuff
ideaProject {
javaVersion = '1.6'
}