Files
spring-restdocs/build.gradle
2014-11-13 13:45:34 +00:00

57 lines
1.0 KiB
Groovy

allprojects {
ext {
springVersion = '4.1.1.RELEASE'
}
group = 'org.springframework.restdocs'
}
project(':spring-restdocs-core') {
apply plugin: 'java'
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
compile 'junit:junit:4.11'
compile "org.springframework:spring-test:$springVersion"
compile "org.springframework:spring-web:$springVersion"
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.4'
}
}
project(':spring-restdocs-gradle-plugin') {
apply plugin: 'groovy'
dependencies {
compile gradleApi()
runtime 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
}
}
subprojects {
repositories {
jcenter()
}
apply plugin: 'eclipse'
apply plugin: 'maven'
task sourcesJar(type: Jar) {
classifier = 'sources'
from project.sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier = "javadoc"
from javadoc
}
artifacts {
archives sourcesJar
archives javadocJar
}
eclipseJdt.onlyIf { false }
cleanEclipseJdt.onlyIf { false }
}