-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
75 lines (57 loc) · 1.81 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
buildscript {
repositories {
maven {
jcenter()
url "http://dl.bintray.com/jmoore/java-lib"
}
}
dependencies {
classpath 'com.mooregreatsoftware:gradle-defaults:4.0.0'
}
}
plugins {
id 'com.jfrog.bintray' version '1.2'
}
group = 'com.twcable.gradle'
description = 'Gradle plugin for working with Felix SCR annotations'
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
def scr_version = '1.13.0'
dependencies {
compile "org.apache.felix:org.apache.felix.scr.generator:${scr_version}"
compile "org.apache.felix:org.apache.felix.scr.ant:${scr_version}"
compile "biz.aQute.bnd:biz.aQute.bndlib:3.0.0"
testCompile "org.spockframework:spock-core:1.0-groovy-2.4", {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
testCompile 'com.netflix.nebula:nebula-test:5.1.3'
testCompile "org.gradle:gradle-tooling-api:${gradle.gradleVersion}" // hack to get the source
}
bintray {
pkg {
userOrg = 'twcable'
licenses = ['Apache-2.0']
attributes = ['plat': ['gradle', 'groovy', 'java', 'jvm', 'osgi']]
//noinspection GroovyAssignabilityCheck
version {
attributes = ['gradle-plugin': ["com.twcable.gradle-plugin:${project.group}:${project.name}"]]
}
}
}
apply plugin: 'com.mooregreatsoftware.defaults'
defaults {
compatibilityVersion = '1.8'
orgId = 'twcable'
orgName = 'Time Warner Cable'
orgUrl = 'http://www.timewarnercable.com'
bintrayRepo = 'aem'
bintrayLabels = ['gradle', 'groovy', 'scr', 'osgi']
developers = [
[id: 'jmoore', name: 'Jim Moore', email: '[email protected]'],
]
copyrightYears = '2014-2017'
}
wrapper {
gradleVersion = "3.5"
}