forked from andrei-bivol/katharsis-vertx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (34 loc) · 1.13 KB
/
build.gradle
File metadata and controls
44 lines (34 loc) · 1.13 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
plugins {
id 'org.ajoberstar.grgit' version '1.4.2'
id 'org.ajoberstar.release-opinion' version '1.4.2'
}
import org.ajoberstar.gradle.git.release.opinion.Strategies
release {
grgit = org.ajoberstar.grgit.Grgit.open(project.rootDir)
defaultVersionStrategy = Strategies.SNAPSHOT
}
tasks.release.dependsOn ':katharsis-vertx:bintrayUpload'
ext {
def grgit = org.ajoberstar.grgit.Grgit.open(project.rootDir)
revision = grgit.head().id
shortMessage = grgit.head().shortMessage
}
group 'io.katharsis'
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url "http://dl.bintray.com/netdava/maven" }
}
ext {
katharsisVersion = '2.3.1'
lombokVersion = '1.16.6'
reflectionsVersion = '0.9.9'
slf4jVersion = '1.7.13'
springVersion = '4.2.4.RELEASE'
vertxVersion = '3.2.1'
// add these properties to your ~/.gradle/gradle.properties file
bintrayUser = project.hasProperty('bintrayUser') ? bintrayUser : 'jenkins'
bintrayApiKey = project.hasProperty('bintrayApiKey') ? bintrayApiKey : System.getenv("NEXUS_PASS")
}
}