forked from jbake-org/jbake-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (38 loc) · 1.11 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.0.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0'
classpath 'net.nemerosa:versioning:1.6.2'
}
}
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'maven-publish'
apply plugin: 'com.github.ben-manes.versions'
apply from: 'gradle/credentials.gradle'
apply from: 'gradle/artifactory.gradle'
apply from: 'gradle/bintray.gradle'
apply from: 'gradle/providedConfiguration.gradle'
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile 'com.github.zafarkhaja:java-semver:0.9.0'
provided 'org.jbake:jbake-core:2.4.0'
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude group:'org.codehaus.groovy'
}
}
task sourceJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allJava
}
task groovydocJar(type: Jar, dependsOn: groovydoc) {
classifier = 'groovydoc'
from groovydoc.destinationDir
}