-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
54 lines (44 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
44
45
46
47
48
49
50
51
52
53
54
plugins {
id 'groovy'
id 'maven-publish'
id "com.gradle.plugin-publish" version "0.9.4"
}
group = 'org.ndrwdn'
version = '0.0.6'
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
compile 'org.apache.commons:commons-compress:1.12'
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: 'groovy-all'
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
pluginBundle {
website = 'https://github.com/ndrwdn/mountebank-gradle'
vcsUrl = 'https://github.com/ndrwdn/mountebank-gradle'
description = 'A Gradle plugin to manage Mountebank'
tags = ['mountebank', 'test']
plugins {
mountebank {
id = "${group}.${name}"
displayName = 'A Gradle plugin to manage Mountebank'
}
}
}