-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (53 loc) · 1.44 KB
/
build.gradle
File metadata and controls
64 lines (53 loc) · 1.44 KB
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
buildscript {
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:1.0.4'
}
}
plugins {
id 'net.researchgate.release' version '2.2.0'
id 'com.jfrog.bintray' version '1.7'
}
allprojects {
repositories {
jcenter()
}
}
subprojects {
apply plugin: 'org.xtext.xtend'
apply plugin: 'maven'
group = 'io.franzbecker.xtend'
ext.githubRepo = 'franzbecker/xtendutils'
ext.versions = [
xtend: '2.10.0',
junit: '4.12'
]
apply from: "$rootDir/gradle/publishing.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile "org.eclipse.xtend:org.eclipse.xtend.lib:$versions.xtend"
compile 'com.google.code.findbugs:jsr305:3.0.0'
compile 'com.google.inject:guice:4.0'
testCompile "junit:junit:$versions.junit"
testCompile 'org.assertj:assertj-core:3.0.0'
// Provide junit project as a test-dependency to every other subproject
if (project.name != 'junit') {
testCompile project(':junit')
}
}
sourceSets {
main.xtendOutputDir = 'src/main/xtend-gen'
test.xtendOutputDir = 'src/test/xtend-gen'
}
}
/*
* Configure release plugin.
* Remove tasks "updateVersion" and "commitNewVersion" as we don't want the new SNAPSHOT
* version commit on the master branch.
*/
tasks.release.tasks -= ['updateVersion', 'commitNewVersion']
release {
preTagCommitMessage = '[release] - pre tag commit: '
tagCommitMessage = '[release] - creating tag: '
newVersionCommitMessage = '[release] - new version commit: '
}