forked from avast/gradle-docker-compose-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (60 loc) · 1.8 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
59
60
61
62
63
64
65
66
67
68
69
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.5'
}
}
apply plugin: 'com.jfrog.bintray'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
group = 'com.avast.gradle'
archivesBaseName = 'docker-compose-gradle-plugin'
version = version == 'unspecified' ? 'DEVELOPER-SNAPSHOT' : version
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile 'org.yaml:snakeyaml:1.16'
testCompile gradleTestKit()
testCompile ('org.spockframework:spock-core:1.0-groovy-2.4') {
// Conflicting module versions: 2.4.4 vs. 2.4.1
exclude group: 'org.codehaus.groovy'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.11'
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives sourcesJar
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
configurations = ['archives']
publish = true
pkg {
repo = 'maven'
name = 'docker-compose-gradle-plugin'
desc = 'Simplifies usage of Docker Compose for local development and integration testing in Gradle environment.'
userOrg = 'avast'
licenses = ['MIT']
vcsUrl = 'https://github.com/avast/docker-compose-gradle-plugin.git'
websiteUrl = 'https://github.com/avast/docker-compose-gradle-plugin'
issueTrackerUrl = 'https://github.com/avast/docker-compose-gradle-plugin/issues'
labels = ['docker', 'docker-compose', 'gradle']
version {
name = project.version
vcsTag = project.version
}
}
}