-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
51 lines (43 loc) · 1.15 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
group 'uk.co.jamesridgway'
description = "Gitflow versioning plugin for gradle"
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'uk.co.jamesridgway.gradle.gitflow.plugin'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
mavenLocal()
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
apply from: 'gradle/dependencies.gradle'
apply from: 'gradle/maven.gradle'
apply from: 'gradle/bintray.gradle'
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
jacocoTestReport {
reports {
html.destination file("${buildDir}/jacocoHtml")
}
}
check.dependsOn jacocoTestReport
bintray.pkg {
repo = 'gradle-plugins'
licenses = ['MIT']
labels = ['gradle', 'plugin', 'git', 'gitflow']
websiteUrl = "https://github.com/jamesridgway/gradle-gitflow-plugin"
issueTrackerUrl = "https://github.com/jamesridgway/gradle-gitflow-plugin/issues"
vcsUrl = "${websiteUrl}.git"
}