-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (73 loc) · 2.04 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
plugins {
id 'maven'
id 'java'
id 'com.jfrog.bintray' version '1.7.3'
id 'net.researchgate.release' version '2.6.0'
id 'org.xtext.xtend' version '2.0.1'
}
dependencies {
compile 'org.testeditor.fixture:core-fixture:4.2.+'
compile 'com.mashape.unirest:unirest-java:1.4.9'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.google.guava:guava:21.0'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.23.0'
testCompile 'com.github.tomakehurst:wiremock:2.6.0'
testCompile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.15.0'
testCompile 'com.google.truth:truth:0.31'
}
sourceSets.main.resources.srcDirs = [ "src/main/java" ]
sourceSets.main.resources.includes = [ "**/*.aml" ]
/*
* code below copied from core-fixture
*/
repositories {
jcenter()
}
group = 'org.testeditor.fixture'
sourceCompatibility = 1.10
targetCompatibility = 1.10
// show standard out during test to see logging output
test.testLogging.showStandardStreams = true
jar {
manifest {
attributes 'Implementation-Title': "${project.group}.${project.name}",
'Implementation-Version': project.version
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
install {
repositories.mavenInstaller {
pom.packaging = 'jar'
}
}
release {
preTagCommitMessage = '[release]'
tagCommitMessage = '[release]'
newVersionCommitMessage = '[release] new version'
tagTemplate = 'v${version}'
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
configurations = ['archives']
publish = true
pkg {
repo = 'Fixtures'
name = project.name
userOrg = 'test-editor'
licenses = ['EPL-1.0']
vcsUrl = "https://github.com/test-editor/${project.name}.git"
version {
name = project.version
vcsTag = "v$project.version"
}
websiteUrl = 'http://testeditor.org'
}
}