forked from ajoberstar/gradle-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (51 loc) · 1.53 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
buildscript {
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/groups/public/' }
}
dependencies {
classpath 'org.ajoberstar:gradle-git:0.6.1'
classpath 'org.ajoberstar:gradle-jacoco:0.3.0'
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0'
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'jacoco'
apply plugin: 'github-pages'
apply from: rootProject.file('gradle/publishing.gradle')
apply from: rootProject.file('gradle/license.gradle')
group = 'org.ajoberstar'
description = 'Git plugins for Gradle'
version = '0.7.0-SNAPSHOT'
sourceCompatibility = '1.5'
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/groups/public/' }
}
dependencies {
groovy localGroovy()
compile gradleApi()
compile 'org.ajoberstar:grgit:0.1.0-SNAPSHOT'
compile 'org.eclipse.jgit:org.eclipse.jgit:2.2.0.201212191850-r'
compile 'org.eclipse.jgit:org.eclipse.jgit.ui:2.2.0.201212191850-r'
compile 'com.jcraft:jsch.agentproxy.jsch:0.0.6'
compile 'com.jcraft:jsch.agentproxy.pageant:0.0.6'
compile 'com.jcraft:jsch.agentproxy.sshagent:0.0.6'
compile 'com.jcraft:jsch.agentproxy.usocket-jna:0.0.6'
testCompile 'junit:junit:4.10'
testCompile('org.spockframework:spock-core:0.7-groovy-1.8') { exclude group: 'org.codehaus.groovy' }
}
githubPages {
repoUri = '[email protected]:ajoberstar/gradle-git.git'
pages {
from 'src/gh-pages'
from(javadoc.outputs.files) {
into 'docs/javadoc'
}
from(groovydoc.outputs.files) {
into 'docs/groovydoc'
}
}
}