-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
93 lines (80 loc) · 2.29 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.townsfolk:gradle-release:1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
}
}
apply plugin: 'release'
apply plugin: "com.bancvue.core-oss"
apply plugin: "com.bancvue.integration-test"
apply plugin: "com.bancvue.maven-publish-ext"
apply plugin: 'com.jfrog.bintray'
repositories {
jcenter()
}
dependencies {
compile localGroovy()
compile gradleApi()
compile "nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0"
mainTestCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude group: 'org.codehaus.groovy'
}
mainTestCompile 'cglib:cglib-nodep:3.2.2'
mainTestCompile 'org.objenesis:objenesis:2.2'
}
check.dependsOn integrationTest
license {
ext.name = "BancVue, LTD"
skipExistingHeaders true
}
[licenseMain, licenseFormatMain]*.exclude "licenses/*"
// exclude the test kit source which was copied from a different project (https://github.com/alkemist/gradle-test-kit)
// and has it's own license
[licenseMainTest, licenseFormatMainTest]*.exclude "org/gradle/testkit/**"
publishing_ext {
publication("mainTest")
publishJavadoc true
pom {
packaging "jar"
description "A collection of gradle plugins meant to codify and streamline project development."
url "https://github.com/BancVue/gradle-core"
developers {
developer {
id "bancvue_oss"
name "BancVue Open Source Development"
email "[email protected]"
}
}
scm {
url "https://github.com/BancVue/gradle-core.git"
connection "scm:git:[email protected]:BancVue/gradle-core.git"
developerConnection "scm:git:[email protected]:BancVue/gradle-core.git"
}
}
}
bintray {
user = 'bancvue'
key = '-changeme-'
publications = ['gradleCore', 'gradleCoreTest']
dryRun = false
publish = false
pkg {
repo = 'maven'
userOrg = 'bancvue'
name = project.group + ':' + project.ext['artifactId']
desc = project.description
websiteUrl = 'https://github.com/BancVue/gradle-core'
issueTrackerUrl = 'https://github.com/BancVue/gradle-core/issues'
vcsUrl = 'https://github.com/BancVue/gradle-core.git'
licenses = ['Apache-2.0']
labels = ['gradle']
publicDownloadNumbers = true
version {
vcsTag = project.version
attributes = ['gradle-plugin': 'com.bancvue.core-oss:com.bancvue:gradle-core']
}
}
}